|
|
@@ -26,7 +26,7 @@ public class MybatisPlusConfig {
|
|
|
public MybatisPlusInterceptor mybatisPlusInterceptor() {
|
|
|
MybatisPlusInterceptor interceptor = new MybatisPlusInterceptor();
|
|
|
// 多租户插件(注意:这个一定要放在最上面)
|
|
|
- interceptor.addInnerInterceptor(new CustomTenantLineInnerInterceptor(customTenantLineHandler));
|
|
|
+ interceptor.addInnerInterceptor(new TenantLineInnerInterceptor(customTenantLineHandler));
|
|
|
// 分页插件
|
|
|
interceptor.addInnerInterceptor(paginationInnerInterceptor());
|
|
|
// 乐观锁插件
|