|
@ -541,12 +541,12 @@ public class IcResiUserImportServiceImpl implements IcResiUserImportService, Res |
|
|
|
|
|
|
|
|
if (StringUtils.isNotBlank(idCard) && idCard.length() > 18) { |
|
|
if (StringUtils.isNotBlank(idCard) && idCard.length() > 18) { |
|
|
// 身份证号超长了哦,不可以的
|
|
|
// 身份证号超长了哦,不可以的
|
|
|
errors.add("身份证号过长,限制18位"); |
|
|
errors.add("身份证号过长"); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
if (StringUtils.isNotBlank(mobile) && mobile.length() > 15) { |
|
|
if (StringUtils.isNotBlank(mobile) && mobile.length() > 15) { |
|
|
// 手机号超长也是不可以的
|
|
|
// 手机号超长也是不可以的
|
|
|
errors.add("手机号过长,限制15位"); |
|
|
errors.add("手机号过长"); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
if (errors.size() > 0) { |
|
|
if (errors.size() > 0) { |
|
|