Commit e1472d03 authored by hongguangwu's avatar hongguangwu

MVP1.6.7-预入职档案

parent b69335d0
......@@ -1680,8 +1680,11 @@ public class TPreEmpMainServiceImpl extends ServiceImpl<TPreEmpMainMapper, TPreE
isNew = true;
emp = new TEmployeeInfo();
}
String[] ignoreProperties = new String[]{"id", "empCode"};
BeanUtil.copyProperties(tPreEmployeeInfo, emp, ignoreProperties);
String empCode = emp.getEmpCode();
BeanUtil.copyProperties(tPreEmployeeInfo, emp, ID);
/*if (Common.isEmpty(emp.getEmpCode()) && Common.isNotNull(empCode)) {
emp.setEmpCode(empCode);
}*/
if (isNew) {
// 新员工塞基本属性
this.setNewEmpBaseData(emp, user);
......
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