diff --git a/xhpc-modules/xhpc-tenant/src/main/java/com/xhpc/tenant/service/impl/XhpcTenantServiceImpl.java b/xhpc-modules/xhpc-tenant/src/main/java/com/xhpc/tenant/service/impl/XhpcTenantServiceImpl.java index 7c9922a2..7d6d6927 100644 --- a/xhpc-modules/xhpc-tenant/src/main/java/com/xhpc/tenant/service/impl/XhpcTenantServiceImpl.java +++ b/xhpc-modules/xhpc-tenant/src/main/java/com/xhpc/tenant/service/impl/XhpcTenantServiceImpl.java @@ -35,6 +35,7 @@ public class XhpcTenantServiceImpl implements XhpcTenantService { @Override public boolean insertTenant(XhpcTenantDomain domain){ if(StringUtils.isEmpty(domain.getTenantName()) + || StringUtils.isEmpty(domain.getTenantId()) || StringUtils.isEmpty(domain.getLinkman()) || StringUtils.isEmpty(domain.getContactNumber())){ throw new CustomException("必填字段为空");