【7.3.2】修复租户判空问题

pull/41/head
fengshuonan 2022-11-01 21:13:34 +08:00
parent 95768937cb
commit 9cb9fd961d
1 changed files with 1 additions and 1 deletions

View File

@ -164,7 +164,7 @@ public class TableUniqueValueService {
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;
}