Commit 3b91ef76 authored by huyuchen's avatar huyuchen

huych-合同自动化代码提交

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