Commit 81c6f862 authored by fangxinjiang's avatar fangxinjiang

紧急联络人调整

parent 2e896a8e
...@@ -1179,6 +1179,9 @@ public class TPreEmpMainServiceImpl extends ServiceImpl<TPreEmpMainMapper, TPreE ...@@ -1179,6 +1179,9 @@ public class TPreEmpMainServiceImpl extends ServiceImpl<TPreEmpMainMapper, TPreE
tEmpContactInfo.setCreateName(user.getNickname()); tEmpContactInfo.setCreateName(user.getNickname());
tEmpContactInfo.setCreateTime(LocalDateTime.now()); tEmpContactInfo.setCreateTime(LocalDateTime.now());
} }
if (Common.isEmpty(tEmpContactInfo.getEmpIdcard()) && Common.isNotNull(emp)){
tEmpContactInfo.setEmpIdcard(emp.getEmpIdcard());
}
tEmpContactInfoService.saveOrUpdate(tEmpContactInfo); tEmpContactInfoService.saveOrUpdate(tEmpContactInfo);
} }
// 预入职-员工伤残信息表 // 预入职-员工伤残信息表
......
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