Commit 0531651efcbf14824cedb360dd6b23a7822198d4

Authored by YunaiV
1 parent ba2307f0

fix:最大分页从 100-> 200,更好的适应 vben,对应 issue:https://github.com/yudaocode/yudao-ui-admin-vben/issues/176

yudao-framework/yudao-common/src/main/java/cn/iocoder/yudao/framework/common/pojo/PageParam.java
@@ -30,7 +30,7 @@ public class PageParam implements Serializable { @@ -30,7 +30,7 @@ public class PageParam implements Serializable {
30 @Schema(description = "每页条数,最大值为 100", requiredMode = Schema.RequiredMode.REQUIRED, example = "10") 30 @Schema(description = "每页条数,最大值为 100", requiredMode = Schema.RequiredMode.REQUIRED, example = "10")
31 @NotNull(message = "每页条数不能为空") 31 @NotNull(message = "每页条数不能为空")
32 @Min(value = 1, message = "每页条数最小值为 1") 32 @Min(value = 1, message = "每页条数最小值为 1")
33 - @Max(value = 100, message = "每页条数最大值为 100") 33 + @Max(value = 200, message = "每页条数最大值为 200")
34 private Integer pageSize = PAGE_SIZE; 34 private Integer pageSize = PAGE_SIZE;
35 35
36 } 36 }
yudao-module-mall/yudao-module-promotion/src/main/java/cn/iocoder/yudao/module/promotion/controller/admin/kefu/vo/message/KeFuMessageListReqVO.java
@@ -28,7 +28,7 @@ public class KeFuMessageListReqVO { @@ -28,7 +28,7 @@ public class KeFuMessageListReqVO {
28 @Schema(description = "每次查询条数,最大值为 100", requiredMode = Schema.RequiredMode.REQUIRED, example = "10") 28 @Schema(description = "每次查询条数,最大值为 100", requiredMode = Schema.RequiredMode.REQUIRED, example = "10")
29 @NotNull(message = "每次查询条数不能为空") 29 @NotNull(message = "每次查询条数不能为空")
30 @Min(value = 1, message = "每次查询条数最小值为 1") 30 @Min(value = 1, message = "每次查询条数最小值为 1")
31 - @Max(value = 100, message = "每次查询最大值为 100") 31 + @Max(value = 200, message = "每次查询最大值为 200")
32 private Integer limit = LIMIT; 32 private Integer limit = LIMIT;
33 33
34 } 34 }
35 \ No newline at end of file 35 \ No newline at end of file
yudao-module-mall/yudao-module-promotion/src/main/java/cn/iocoder/yudao/module/promotion/controller/app/kefu/vo/message/AppKeFuMessagePageReqVO.java
@@ -27,7 +27,7 @@ public class AppKeFuMessagePageReqVO { @@ -27,7 +27,7 @@ public class AppKeFuMessagePageReqVO {
27 @Schema(description = "每次查询条数,最大值为 100", requiredMode = Schema.RequiredMode.REQUIRED, example = "10") 27 @Schema(description = "每次查询条数,最大值为 100", requiredMode = Schema.RequiredMode.REQUIRED, example = "10")
28 @NotNull(message = "每次查询条数不能为空") 28 @NotNull(message = "每次查询条数不能为空")
29 @Min(value = 1, message = "每次查询条数最小值为 1") 29 @Min(value = 1, message = "每次查询条数最小值为 1")
30 - @Max(value = 100, message = "每次查询最大值为 100") 30 + @Max(value = 200, message = "每次查询最大值为 200")
31 private Integer limit = LIMIT; 31 private Integer limit = LIMIT;
32 32
33 } 33 }
34 \ No newline at end of file 34 \ No newline at end of file