Commit 99b2dc14 authored by hongguangwu's avatar hongguangwu

优化人员档案

parent ece92854
......@@ -1020,6 +1020,13 @@ public class TEmployeeInfoServiceImpl extends ServiceImpl<TEmployeeInfoMapper, T
} else {
saveEmp = existEmpMap.get(excel.getEmpIdcard());
saveEmp.setProjectNum(CommonConstants.ONE_INT);
if (Common.isNotNull(excel.getDeptNo())) {
if (excel.getDeptNo().length() > 20) {
errorMsg.add(EmployeeConstants.DEPT_NO_LENGTH);
} else {
saveEmp.setDeptNo(excel.getDeptNo());
}
}
saveList.add(saveEmp);
}
} else {
......
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