Unverified Commit 77aca80a authored by openopen2's avatar openopen2 Committed by GitHub

Update MybatisPlusConfig.java (#2290)

Enable backend pagination
parent 759e1afc
......@@ -118,15 +118,10 @@ public class MybatisPlusConfig {
return !IGNORE_TABLE_NAMES.contains(tableName);
}
}));
interceptor.addInnerInterceptor(new PaginationInnerInterceptor());
return interceptor;
}
@Bean
public PaginationInnerInterceptor paginationInterceptor() {
return new PaginationInnerInterceptor();
}
@Bean
@ConditionalOnMissingBean
@ConditionalOnProperty(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment