init
This commit is contained in:
@@ -30,7 +30,7 @@ public class PageQuery implements Serializable {
|
||||
* 分页大小
|
||||
*/
|
||||
@Schema(description = "分页大小")
|
||||
private Integer pageSize;
|
||||
private Integer pageSize = 20;
|
||||
|
||||
/**
|
||||
* 当前页数
|
||||
@@ -58,7 +58,8 @@ public class PageQuery implements Serializable {
|
||||
/**
|
||||
* 每页显示记录数 默认值 默认查全部
|
||||
*/
|
||||
public static final int DEFAULT_PAGE_SIZE = Integer.MAX_VALUE;
|
||||
// public static final int DEFAULT_PAGE_SIZE = Integer.MAX_VALUE;
|
||||
public static final int DEFAULT_PAGE_SIZE = 20;
|
||||
|
||||
public <T> Page<T> build() {
|
||||
Integer pageNum = ObjectUtil.defaultIfNull(getPageNum(), DEFAULT_PAGE_NUM);
|
||||
|
||||
Reference in New Issue
Block a user