feat: 修改MAX_PAGE_SIZE最大为30000,因为业务方查询权限集的权限时会有超过30000的情况,原限制1000,会多次io,业务已经在优化

This commit is contained in:
lilong 2024-07-24 13:58:57 +08:00
parent a0419d178a
commit d349b65c3a

View File

@ -9,7 +9,7 @@ import java.util.List;
public interface IPageParam { public interface IPageParam {
Integer DEFAULT_PAGE_NUMBER = 1; Integer DEFAULT_PAGE_NUMBER = 1;
Integer DEFAULT_PAGE_SIZE = 20; Integer DEFAULT_PAGE_SIZE = 20;
Integer MAX_PAGE_SIZE = 1000; Integer MAX_PAGE_SIZE = 30000;
String SORT_DELIMITER = "__"; String SORT_DELIMITER = "__";
String SORT_DESC = OrderEnum.DESC.name(); String SORT_DESC = OrderEnum.DESC.name();