diff --git a/kernel-d-db/db-spring-boot-starter/src/main/java/cn/stylefeng/roses/kernel/db/starter/ProjectMyBatisPlusAutoConfiguration.java b/kernel-d-db/db-spring-boot-starter/src/main/java/cn/stylefeng/roses/kernel/db/starter/ProjectMyBatisPlusAutoConfiguration.java index ef8273f51..074e8577f 100644 --- a/kernel-d-db/db-spring-boot-starter/src/main/java/cn/stylefeng/roses/kernel/db/starter/ProjectMyBatisPlusAutoConfiguration.java +++ b/kernel-d-db/db-spring-boot-starter/src/main/java/cn/stylefeng/roses/kernel/db/starter/ProjectMyBatisPlusAutoConfiguration.java @@ -79,12 +79,12 @@ public class ProjectMyBatisPlusAutoConfiguration { // 使用多租户插件 interceptor.addInnerInterceptor(tenantLineInnerInterceptor(tenantTableProperties)); - // 使用分页插插件 - interceptor.addInnerInterceptor(paginationInterceptor()); - // 使用数据权限插件 interceptor.addInnerInterceptor(dataPermissionInterceptor()); + // 使用分页插插件 + interceptor.addInnerInterceptor(paginationInterceptor()); + // 使用乐观锁插件 interceptor.addInnerInterceptor(optimisticLockerInnerInterceptor());