Commit 8fd76fa1 by 王祖波

手动分页修改

parent b61cb58b
......@@ -146,6 +146,7 @@ public class ContactFollowServiceImpl implements ContactFollowService {
int fromIndex = Math.max((pageNum - 1) * pageSize, 0);
int toIndex = Math.min(fromIndex + pageSize, totalCount);
toIndex = Math.min(toIndex, list.size());
List<ContactFollowDTO> pageList = list.subList(fromIndex, toIndex);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment