|
|
|
@ -90,7 +90,6 @@ public class BsOrganizationController { |
|
|
|
|
try { |
|
|
|
|
if (organization.getParentId() == null || organization.getCompanyId() == null |
|
|
|
|
|| StringUtils.isBlank(organization.getName()) |
|
|
|
|
|| StringUtils.isBlank(organization.getAddress()) |
|
|
|
|
|| StringUtils.isBlank(organization.getPhone())) { |
|
|
|
|
log.error("SecOrganizationController --> addOrganization() error!", "参数错误"); |
|
|
|
|
throw ErrorHelp.genException(SysCode.System, ErrorCode.REQ_PARAMS_ERROR, ""); |
|
|
|
@ -143,7 +142,6 @@ public class BsOrganizationController { |
|
|
|
|
|| organization.getParentId() == null |
|
|
|
|
|| organization.getCompanyId() == null |
|
|
|
|
|| StringUtils.isBlank(organization.getName()) |
|
|
|
|
|| StringUtils.isBlank(organization.getAddress()) |
|
|
|
|
|| StringUtils.isBlank(organization.getPhone())) { |
|
|
|
|
log.error("SecOrganizationController --> updateOrganization() error!", "参数错误"); |
|
|
|
|
throw ErrorHelp.genException(SysCode.System, ErrorCode.REQ_PARAMS_ERROR, ""); |
|
|
|
|