公会-后台-公会钻石薪资流水-导出-处理分页溢出
This commit is contained in:
@@ -120,7 +120,7 @@ public class GuildSettleRecordAdminService {
|
||||
}
|
||||
|
||||
private List<GuildSettleRecordAdminVo> transferToVo(List<GuildSettleRecord> poList, Integer pageNo, Integer pageSize) {
|
||||
if (null != pageNo && null != pageSize){
|
||||
if (null != pageNo && null != pageSize && pageNo >= 1 && pageSize >= 1){
|
||||
int start = (pageNo - 1) * pageSize;
|
||||
int end = Math.min(poList.size(), start + pageSize);
|
||||
poList = poList.subList(start, end);
|
||||
|
Reference in New Issue
Block a user