|
|
@ -539,7 +539,7 @@ public class IcResiUserImportServiceImpl implements IcResiUserImportService, Res |
|
|
|
|
|
|
|
List<String> errors = new ArrayList<>(); |
|
|
|
|
|
|
|
if (idCard.length() > 18) { |
|
|
|
if (StringUtils.isNotBlank(idCard) && idCard.length() > 18) { |
|
|
|
// 身份证号超长了哦,不可以的
|
|
|
|
errors.add("身份证号过长,限制18位"); |
|
|
|
} |
|
|
|