|
|
@ -60,8 +60,6 @@ public class MybatisPlusConfiguration {
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
public PaginationInnerInterceptor paginationInnerInterceptor() {
|
|
|
|
public PaginationInnerInterceptor paginationInnerInterceptor() {
|
|
|
|
PaginationInnerInterceptor paginationInnerInterceptor = new PaginationInnerInterceptor();
|
|
|
|
PaginationInnerInterceptor paginationInnerInterceptor = new PaginationInnerInterceptor();
|
|
|
|
// 设置最大单页限制数量,默认 500 条,-1 不受限制
|
|
|
|
|
|
|
|
paginationInnerInterceptor.setMaxLimit(-1L);
|
|
|
|
|
|
|
|
// 分页合理化
|
|
|
|
// 分页合理化
|
|
|
|
paginationInnerInterceptor.setOverflow(true);
|
|
|
|
paginationInnerInterceptor.setOverflow(true);
|
|
|
|
return paginationInnerInterceptor;
|
|
|
|
return paginationInnerInterceptor;
|
|
|
|