|
@ -718,7 +718,7 @@ public class EpidemicUserInfoServiceImpl extends CrudServiceImpl<EpidemicUserInf |
|
|
} |
|
|
} |
|
|
} catch (Exception e1) { |
|
|
} catch (Exception e1) { |
|
|
e1.printStackTrace(); |
|
|
e1.printStackTrace(); |
|
|
throw new RenException("导入失败:请检查导入模板或导入数据"); |
|
|
throw new RenException("导入失败:请检查导入模板或导入数据!"); |
|
|
} |
|
|
} |
|
|
return new Result(); |
|
|
return new Result(); |
|
|
} |
|
|
} |
|
@ -795,10 +795,10 @@ public class EpidemicUserInfoServiceImpl extends CrudServiceImpl<EpidemicUserInf |
|
|
if (StringUtils.isBlank(selfIdentityNo)) { |
|
|
if (StringUtils.isBlank(selfIdentityNo)) { |
|
|
errorInfo += "本人身份证号为空;"; |
|
|
errorInfo += "本人身份证号为空;"; |
|
|
} else if (StringUtils.isNotBlank(selfIdentityNo)) { |
|
|
} else if (StringUtils.isNotBlank(selfIdentityNo)) { |
|
|
String result = IdentityNoUtils.IdentityNoVerification(selfIdentityNo); |
|
|
/*String result = IdentityNoUtils.IdentityNoVerification(selfIdentityNo); |
|
|
if (result != null) { |
|
|
if (result != null) { |
|
|
errorInfo += "本人身份证号码有误;"; |
|
|
errorInfo += "本人身份证号码有误;"; |
|
|
} |
|
|
}*/ |
|
|
// else {
|
|
|
// else {
|
|
|
// BaseResidentInformationUpdateExcel.setGender(IdentityNoUtils.getSex(selfIdentityNo));
|
|
|
// BaseResidentInformationUpdateExcel.setGender(IdentityNoUtils.getSex(selfIdentityNo));
|
|
|
// BaseResidentInformationUpdateExcel.setAge(IdentityNoUtils.getAge(selfIdentityNo));
|
|
|
// BaseResidentInformationUpdateExcel.setAge(IdentityNoUtils.getAge(selfIdentityNo));
|
|
|