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