Browse Source

-

feature/teamB_zz_wgh
wangxianzhang 3 years ago
parent
commit
b70e5a47c3
  1. 4
      epmet-user/epmet-user-server/src/main/java/com/epmet/service/impl/IcResiUserImportServiceImpl.java

4
epmet-user/epmet-user-server/src/main/java/com/epmet/service/impl/IcResiUserImportServiceImpl.java

@ -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) {

Loading…
Cancel
Save