|
|
@@ -14,9 +14,7 @@ public class MybatisPlusConfig {
|
|
|
@Bean
|
|
|
public MybatisPlusInterceptor mybatisPlusInterceptor() {
|
|
|
MybatisPlusInterceptor interceptor = new MybatisPlusInterceptor();
|
|
|
- interceptor.addInnerInterceptor(new PaginationInnerInterceptor(DbType.SQLITE));
|
|
|
- interceptor.addInnerInterceptor(new PaginationInnerInterceptor(DbType.MYSQL));
|
|
|
- interceptor.addInnerInterceptor(new PaginationInnerInterceptor(DbType.POSTGRE_SQL));
|
|
|
+ interceptor.addInnerInterceptor(new PaginationInnerInterceptor());
|
|
|
return interceptor;
|
|
|
}
|
|
|
}
|