This commit is contained in:
2023-05-30 17:36:42 +08:00
parent 9a747ed3f7
commit 82c0695013
21 changed files with 510 additions and 199 deletions

View File

@ -29,9 +29,10 @@ public class MybatisPlusConfig {
return new StringValue(BaseContext.getTenantId());
}
// sys_tenant 不需要拼接租户ID
@Override
public boolean ignoreTable(String tableName) {
return false;
return "sys_tenant".equals(tableName);
}
}));
interceptor.addInnerInterceptor(new PaginationInnerInterceptor());