mirror of
https://github.com/YunaiV/ruoyi-vue-pro.git
synced 2026-03-30 04:49:43 +00:00
Update TenantDatabaseInterceptor.java
修正注释,使其准确反映代码行为。
This commit is contained in:
@@ -75,7 +75,7 @@ public class TenantDatabaseInterceptor implements TenantLineHandler {
|
||||
if (TenantBaseDO.class.isAssignableFrom(tableInfo.getEntityType())) {
|
||||
return false;
|
||||
}
|
||||
// 如果添加了 @TenantIgnore 注解,显然也不忽略租户
|
||||
// 如果添加了 @TenantIgnore 注解,则忽略租户
|
||||
TenantIgnore tenantIgnore = tableInfo.getEntityType().getAnnotation(TenantIgnore.class);
|
||||
return tenantIgnore != null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user