Commit c856aac4 authored by hongguangwu's avatar hongguangwu

MVP1.7.2 优化

parent 9f96ff97
......@@ -1743,6 +1743,8 @@ public class TPreEmpMainServiceImpl extends ServiceImpl<TPreEmpMainMapper, TPreE
empId = tPreEmployeeInfo.getOldId();
emp = tEmployeeInfoService.getById(empId);
if (emp != null) {
// 生成性别年龄等:
this.setBaseSexInfo(tPreEmployeeInfo);
BeanUtil.copyProperties(tPreEmployeeInfo, emp, ID);
if (CommonConstants.ONE_INT == emp.getFileStatus()) {
emp.setCreateTime(LocalDateTime.now());
......
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