mirror of https://gitee.com/stylefeng/roses
【7.3.2】修复租户判空问题
parent
95768937cb
commit
9cb9fd961d
|
@ -164,7 +164,7 @@ public class TableUniqueValueService {
|
||||||
String tenantCode = loginUser.getTenantCode();
|
String tenantCode = loginUser.getTenantCode();
|
||||||
|
|
||||||
// 如果是主数据源可以忽略
|
// 如果是主数据源可以忽略
|
||||||
if (tenantCode == null || TenantConstants.MASTER_DATASOURCE_NAME.equals(tenantCode)) {
|
if (ObjectUtil.isNotEmpty(tenantCode) || TenantConstants.MASTER_DATASOURCE_NAME.equals(tenantCode)) {
|
||||||
return originTableName;
|
return originTableName;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue