Commit 4a87d348 authored by huyuchen's avatar huyuchen

huych-合同自动化代码提交

parent 34129636
......@@ -1093,6 +1093,12 @@ public class EmployeeRegistrationServiceImpl extends ServiceImpl<EmployeeRegistr
initInsruancePreInfo(registrationNow, insurancePreVo, user, domainR.getData());
}
insuranceDaprUtil.saveInsurancePreInfo(preVo);
TEmployeeContractPreVo employeeContractPreVo = preVo.getEmployeeContractPreVo();
if (Common.isNotNull(employeeContractPreVo) && Common.isNotNull(employeeContractPreVo.getContractFlag())
&& CommonConstants.ONE_STRING.equals(employeeContractPreVo.getContractFlag())) {
//生成合同待购买数据
initContractPreInfo(registrationNow, employeeContractPreVo, user, domainR.getData());
}
}
}catch (Exception e) {
log.error("执行异常", e);
......
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