fix(config): 将分页拦截器数据库类型改为 PostgreSQL

This commit is contained in:
2025-12-31 17:29:46 +08:00
parent a510a4afcb
commit 2cdbdfeaf2

View File

@@ -25,7 +25,7 @@ public class MyBatisPlusConfig {
public MybatisPlusInterceptor mybatisPlusInterceptor() { public MybatisPlusInterceptor mybatisPlusInterceptor() {
MybatisPlusInterceptor interceptor = new MybatisPlusInterceptor(); MybatisPlusInterceptor interceptor = new MybatisPlusInterceptor();
// 分页插件 // 分页插件
interceptor.addInnerInterceptor(new PaginationInnerInterceptor(DbType.MYSQL)); interceptor.addInnerInterceptor(new PaginationInnerInterceptor(DbType.POSTGRE_SQL));
return interceptor; return interceptor;
} }
} }