...
|
...
|
@@ -123,31 +123,6 @@ public class RabbitmqCtrl { |
|
|
}
|
|
|
}
|
|
|
|
|
|
/*List<QueueInfo> selectedList = new ArrayList<>();
|
|
|
|
|
|
int start = (request.getCurrentPage() - 1) * request.getPageSize();
|
|
|
|
|
|
int end = (request.getCurrentPage() * request.getPageSize()) - 1;
|
|
|
|
|
|
int realCount = end < queuesList.size() ? request.getPageSize() : queuesList.size() - start;
|
|
|
|
|
|
for (int i = 0; i < realCount; i++) {
|
|
|
|
|
|
selectedList.add(queuesList.get(start + i));
|
|
|
}*/
|
|
|
|
|
|
/*PageResponse<QueueInfo> response = new PageResponse<>();
|
|
|
|
|
|
response.setCurrentPage(request.getCurrentPage());
|
|
|
|
|
|
response.setTotal(queuesList.size());
|
|
|
|
|
|
response.setPageSize(request.getPageSize());
|
|
|
|
|
|
response.setTotalPage(queuesList.size() / request.getPageSize() + 1);*/
|
|
|
|
|
|
/* response.setRows(selectedList);*/
|
|
|
|
|
|
baseResponse.setData(queuesList);
|
|
|
}
|
|
|
|
...
|
...
|
|