Commit 43ff9c02 authored by huyuchen's avatar huyuchen

huych-合同自动化代码提交

parent 9e933b94
......@@ -29,6 +29,7 @@ import com.yifu.cloud.plus.v1.yifu.archives.entity.TEmployeeContractPre;
import com.yifu.cloud.plus.v1.yifu.archives.entity.TEmployeePreLog;
import com.yifu.cloud.plus.v1.yifu.archives.entity.TEmployeePreLogDetail;
import com.yifu.cloud.plus.v1.yifu.archives.mapper.TEmployeePreLogMapper;
import com.yifu.cloud.plus.v1.yifu.archives.service.TEmployeeContractPreService;
import com.yifu.cloud.plus.v1.yifu.archives.service.TEmployeePreLogDetailService;
import com.yifu.cloud.plus.v1.yifu.archives.service.TEmployeePreLogService;
import com.yifu.cloud.plus.v1.yifu.archives.vo.TEmployeePreLogSearchVo;
......@@ -64,6 +65,7 @@ import static com.alibaba.fastjson.serializer.SerializerFeature.*;
public class TEmployeePreLogServiceImpl extends ServiceImpl<TEmployeePreLogMapper, TEmployeePreLog> implements TEmployeePreLogService {
private final DaprInsurancesProperties daprInsurancesProperties;
private final TEmployeePreLogDetailService tEmployeePreLogDetailService;
private final TEmployeeContractPreService contractPreService;
/**
* 入职确认信息变更日志表简单分页查询
......@@ -324,6 +326,10 @@ public class TEmployeePreLogServiceImpl extends ServiceImpl<TEmployeePreLogMappe
if (!detailList.isEmpty()) {
tEmployeePreLogDetailService.saveBatch(detailList);
}
//保存合同待签订数据
if (contractOld != null && newInfo.getEmployeeContractPreVo() != null) {
contractPreService.saveContractPreInfo(newInfo.getEmployeeContractPreVo());
}
}
if (!saveOrUpdateList.isEmpty()) {
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