Commit 798bb9db by jianan

行业不是必填

parent 4c71bab6
......@@ -211,10 +211,6 @@ public class CustomerServiceImpl extends ServiceImpl<CustomerMapper, Customer>
if (StringUtils.isBlank(age)) {
throw new BusinessException(ErrorCode.PARAMS_ERROR.getCode(), "年龄不能为空");
}
String companyType = customer.getCompanyType();
if (StringUtils.isBlank(companyType)) {
throw new BusinessException(ErrorCode.PARAMS_ERROR.getCode(), "行业不能为空");
}
Object marriage = customer.getMarriage();
if (marriage == null) {
throw new BusinessException(ErrorCode.PARAMS_ERROR.getCode(), "婚姻状况不能为空");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment