import com.github.pagehelper.Page;
//自定义分页
//当前页,每页数据大小
Page page = new Page(pageNum, pageSize);
//list的数量
page.setTotal(list.size());
//分页添加数据
page.addAll(list);
return page;
最后
以上就是友好冬日最近收集整理的关于pageHelper对List分页的全部内容,更多相关pageHelper对List分页内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复