Commit 2b02cff4 authored by hongguangwu's avatar hongguangwu

MVP1.7.9-不可变更的,不判断

parent 11518b88
......@@ -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