Commit 893695c1 authored by huyuchen's avatar huyuchen

huych-问题修复,修改替换校验逻辑

parent 80477aac
...@@ -4524,8 +4524,8 @@ public class TInsuranceDetailServiceImpl extends ServiceImpl<TInsuranceDetailMap ...@@ -4524,8 +4524,8 @@ public class TInsuranceDetailServiceImpl extends ServiceImpl<TInsuranceDetailMap
if (Optional.ofNullable(insuranceType).isPresent()) { if (Optional.ofNullable(insuranceType).isPresent()) {
// param.setIsAdress(insuranceType.getIsAdress()); // param.setIsAdress(insuranceType.getIsAdress());
if (CommonConstants.ZERO_STRING.equals( if (CommonConstants.ZERO_STRING.equals(
insuranceType.getAgeLimit()) && (IdCardUtil.getFullAge(param.getEmpIdcardNo()) insuranceType.getAgeLimit()) && (IdCardUtil.getFullAge(param.getReplaceEmpIdcardNo())
< CommonConstants.SIXTEEN_INT || IdCardUtil.getFullAge(param.getEmpIdcardNo()) < CommonConstants.SIXTEEN_INT || IdCardUtil.getFullAge(param.getReplaceEmpIdcardNo())
> CommonConstants.SEVENTY)) { > CommonConstants.SEVENTY)) {
param.setErrorMessage(InsurancesConstants.REPLACE_EMP_AGE_NOT_LEGITIMATE); param.setErrorMessage(InsurancesConstants.REPLACE_EMP_AGE_NOT_LEGITIMATE);
listResult.add(param); listResult.add(param);
......
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