Commit 172c2597 authored by huyuchen's avatar huyuchen

Merge remote-tracking branch 'origin/MVP1.7.9' into MVP1.7.9

parents 10b7b0b7 2b02cff4
......@@ -509,17 +509,20 @@ public class EmployeeRegistrationPreServiceImpl extends ServiceImpl<EmployeeRegi
preVo.setInsuranceCompanyName(insurancePreVo.getInsuranceCompanyName());
preVo.setPolicyStart(insurancePreVo.getPolicyStart());
preVo.setPolicyEnd(insurancePreVo.getPolicyEnd());
checkVo = checkInsuranceExit(preVo);
if (null != checkVo) {
errorList.add(checkVo);
} else {
if (Common.isNotNull(preVo.getProcessStatus())) {
insurancePreVo.setProcessStatus(preVo.getProcessStatus());
if (Common.isEmpty(insurancePreVo.getModelType())
|| !CommonConstants.FOUR_STRING.equals(insurancePreVo.getModelType())) {
checkVo = checkInsuranceExit(preVo);
if (null != checkVo) {
errorList.add(checkVo);
} else {
insurancePreVo.setProcessStatus(CommonConstants.ZERO_STRING);
}
if (Common.isNotNull(preVo.getIsAddress())) {
insurancePreVo.setIsAddress(preVo.getIsAddress());
if (Common.isNotNull(preVo.getProcessStatus())) {
insurancePreVo.setProcessStatus(preVo.getProcessStatus());
} else {
insurancePreVo.setProcessStatus(CommonConstants.ZERO_STRING);
}
if (Common.isNotNull(preVo.getIsAddress())) {
insurancePreVo.setIsAddress(preVo.getIsAddress());
}
}
}
}
......
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