update 优化分页默认值 默认查全部

This commit is contained in:
疯狂的狮子li 2021-06-04 10:48:35 +08:00
parent d674d934e7
commit 6fc141497a
1 changed files with 2 additions and 2 deletions

View File

@ -43,9 +43,9 @@ public class PageUtils {
public static final int DEFAULT_PAGE_NUM = 1;
/**
* 每页显示记录数 默认值
* 每页显示记录数 默认值 默认查全部
*/
public static final int DEFAULT_PAGE_SIZE = 10;
public static final int DEFAULT_PAGE_SIZE = Integer.MAX_VALUE;
/**
* 构建 plus 分页对象