Commit b788fe7d authored by huyuchen's avatar huyuchen

huych-派单更新档案完整度监控

parent 81d58e91
......@@ -2667,10 +2667,11 @@ public class TEmployeeInfoServiceImpl extends ServiceImpl<TEmployeeInfoMapper, T
contractAdd.setEmpNo(contract.getEmpNo());
contractsMap.put(contractAdd.getEmpIdcard() + CommonConstants.DOWN_LINE_STRING + contractAdd.getDeptNo(), contractAdd);
//新增合同和同步更新项目档案中的合同信息
projectUpd = tEmployeeProjectService.getOne(Wrappers.<TEmployeeProject>query().lambda().
eq(TEmployeeProject::getDeptNo, contract.getDeptNo())
projectUpd = tEmployeeProjectService.getOne(Wrappers.<TEmployeeProject>query().lambda()
.eq(TEmployeeProject::getDeptNo, contract.getDeptNo())
.eq(TEmployeeProject::getDeleteFlag, CommonConstants.ZERO_STRING)
.eq(TEmployeeProject::getProjectStatus, CommonConstants.ZERO_INT));
.eq(TEmployeeProject::getProjectStatus, CommonConstants.ZERO_INT)
.last(CommonConstants.LAST_ONE_SQL));
if (Common.isNotNull(projectUpd)) {
if (Common.isEmpty(projectUpd.getContractType())) {
projectUpd.setContractType(excelUtil.getDicValueByDataType(contract.getContractName(), ExcelAttributeConstants.PERSONNEL_TYPE));
......
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