|
|
|
@ -91,8 +91,6 @@ public class BsCompanyController { |
|
|
|
|
SecUser user = secCompanyModel.getUser(); |
|
|
|
|
if (StringUtils.isBlank(company.getName()) |
|
|
|
|
|| StringUtils.isBlank(company.getRegionId()) |
|
|
|
|
|| StringUtils.isBlank(company.getAddress()) |
|
|
|
|
|| StringUtils.isBlank(company.getPhone()) |
|
|
|
|
|| StringUtils.isBlank(user.getLoginName()) |
|
|
|
|
|| StringUtils.isBlank(user.getPassword()) |
|
|
|
|
) { |
|
|
|
@ -179,8 +177,6 @@ public class BsCompanyController { |
|
|
|
|
SecUser user = secCompanyModel.getUser(); |
|
|
|
|
if ( StringUtils.isBlank(company.getName()) |
|
|
|
|
|| company.getRegionId() == null |
|
|
|
|
|| StringUtils.isBlank(company.getAddress()) |
|
|
|
|
|| StringUtils.isBlank(company.getPhone()) |
|
|
|
|
|| company.getId() == null |
|
|
|
|
|| StringUtils.isBlank(user.getLoginName()) |
|
|
|
|
|| StringUtils.isBlank(user.getPassword()) |
|
|
|
|