Commit 90520d01 authored by 廖旭伟's avatar 廖旭伟

新增离职信息是保存员工的入职时间

parent 43489b0c
...@@ -296,6 +296,7 @@ public class StaffServiceImpl extends AbstractCRUDCacheServiceImpl<StaffDao, Sta ...@@ -296,6 +296,7 @@ public class StaffServiceImpl extends AbstractCRUDCacheServiceImpl<StaffDao, Sta
staffLeaveEntity.setJobName(staff.getPositionName()); staffLeaveEntity.setJobName(staff.getPositionName());
staffLeaveEntity.setStaffType(staff.getStaffType()); staffLeaveEntity.setStaffType(staff.getStaffType());
staffLeaveEntity.setStatus(StaffSatusEnum.离职.getValue()); staffLeaveEntity.setStatus(StaffSatusEnum.离职.getValue());
staffLeaveEntity.setEntryDate(staff.getCreateTime());
staffLeaveEntity.setLeaveDate(new Date()); staffLeaveEntity.setLeaveDate(new Date());
staffLeaveEntity.setLeaveReason(""); staffLeaveEntity.setLeaveReason("");
staffLeaveEntity.setAuditStatus(AuditStatusEnum.通过.getValue()); staffLeaveEntity.setAuditStatus(AuditStatusEnum.通过.getValue());
......
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