手动对list进行分页(返回PageInfo)
page工具类:
public class PageUtil {
/*
* Discreption: 手动对list分页
* @param: [arrayList, pageNum, pageSize]
* @return: com.github.pagehelper.PageInfo<T>
*/
public static <T> PageInfo<T> list2PageInfo( Integer pageNum, In
原创
2020-05-27 17:10:13 ·
1464 阅读 ·
2 评论