![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
分页
欣晟
这个作者很懒,什么都没留下…
展开
-
手动分页工具类
@ApiModel(value = "分页")public class PageTool<T> implements Serializable { /** * 页面大小 */ @ApiModelProperty(value = "页面大小") private long pageSize; /** * 页码 */ @ApiModelProperty(value = "页码") private long p.原创 2021-06-04 17:03:39 · 184 阅读 · 0 评论 -
java 内存分页
int curPage;int pageSize;int totalNums;int pages;PageBean pageBean = new PageBean<>();if (!CollectionUtils.isEmpty(page)) {totalNums = page.size();curPage = req.getCurPage();pageSize = req.getPageSize();page = page.subList(pageSize * (curPa原创 2021-02-08 17:38:00 · 125 阅读 · 0 评论