|
@@ -295,16 +295,16 @@ public class ChannelAnalyseServiceImpl implements ChannelAnalyseService {
|
|
|
|
|
|
//5.分页返回结果集
|
|
|
int i = 1;
|
|
|
- int start = 0,end = 6;
|
|
|
+ int start = 0,end = channelMapAceeptVo.getPageSize();
|
|
|
while(start<list.size()){
|
|
|
if(end>=list.size())
|
|
|
end = list.size();
|
|
|
result.put(""+i++,new ArrayList(list.subList(start,end)));
|
|
|
start=end;
|
|
|
- end+=6;
|
|
|
+ end += channelMapAceeptVo.getPageSize();
|
|
|
}
|
|
|
result.put("pages",i-1);
|
|
|
- result.put("total",total);
|
|
|
+ result.put("total",list.size());
|
|
|
return result;
|
|
|
}
|
|
|
|