Commit 3b91ef76 authored by huyuchen's avatar huyuchen

huych-合同自动化代码提交

parent e75a3e76
......@@ -342,8 +342,9 @@ public class TEmployeePreLogServiceImpl extends ServiceImpl<TEmployeePreLogMappe
if (!detailList.isEmpty()) {
tEmployeePreLogDetailService.saveBatch(detailList);
}
}
//保存合同待签订数据
if (contractOld != null && employeeContractPre != null) {
if (employeeContractPre != null) {
TEmployeeContractPreVo preVo = new TEmployeeContractPreVo();
BeanUtils.copyProperties(employeeContractPre,preVo);
if (Common.isNotNull(employeeContractPre.getExpectedCollectionTime()) ) {
......@@ -354,7 +355,6 @@ public class TEmployeePreLogServiceImpl extends ServiceImpl<TEmployeePreLogMappe
}
contractPreService.saveContractPreInfo(preVo);
}
}
if (!saveOrUpdateList.isEmpty()) {
HttpDaprUtil.invokeMethodPost(daprInsurancesProperties.getAppUrl(), daprInsurancesProperties.getAppId()
, "/temployeeinsurancepre/inner/saveOrUpdateInsuranceList"
......
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