fix: 修复 Mybatis Plus 分页组件数据库.

pull/161/head
chen.ma 3 years ago
parent 8c4d31f1e1
commit 9dcd5fb4c7

@ -18,7 +18,7 @@ public class MybatisPlusConfig {
@Bean
public MybatisPlusInterceptor mybatisPlusInterceptor() {
MybatisPlusInterceptor interceptor = new MybatisPlusInterceptor();
interceptor.addInnerInterceptor(new PaginationInnerInterceptor(DbType.H2));
interceptor.addInnerInterceptor(new PaginationInnerInterceptor(DbType.MYSQL));
return interceptor;
}

Loading…
Cancel
Save