Authored by qinchao

去掉注释

@@ -123,31 +123,6 @@ public class RabbitmqCtrl { @@ -123,31 +123,6 @@ public class RabbitmqCtrl {
123 } 123 }
124 } 124 }
125 125
126 - /*List<QueueInfo> selectedList = new ArrayList<>();  
127 -  
128 - int start = (request.getCurrentPage() - 1) * request.getPageSize();  
129 -  
130 - int end = (request.getCurrentPage() * request.getPageSize()) - 1;  
131 -  
132 - int realCount = end < queuesList.size() ? request.getPageSize() : queuesList.size() - start;  
133 -  
134 - for (int i = 0; i < realCount; i++) {  
135 -  
136 - selectedList.add(queuesList.get(start + i));  
137 - }*/  
138 -  
139 - /*PageResponse<QueueInfo> response = new PageResponse<>();  
140 -  
141 - response.setCurrentPage(request.getCurrentPage());  
142 -  
143 - response.setTotal(queuesList.size());  
144 -  
145 - response.setPageSize(request.getPageSize());  
146 -  
147 - response.setTotalPage(queuesList.size() / request.getPageSize() + 1);*/  
148 -  
149 -/* response.setRows(selectedList);*/  
150 -  
151 baseResponse.setData(queuesList); 126 baseResponse.setData(queuesList);
152 } 127 }
153 128