Commit abeb73f5 by huluobin

upate

parent a5ae1dad
...@@ -154,6 +154,7 @@ public class TakeLeaveEventCmdServiceImpl implements TakeLeaveEventCmdService { ...@@ -154,6 +154,7 @@ public class TakeLeaveEventCmdServiceImpl implements TakeLeaveEventCmdService {
.status(1) .status(1)
.totalTimeLength(takeLeaveEvent.getTimeLength()) .totalTimeLength(takeLeaveEvent.getTimeLength())
.technicianId(takeLeaveEvent.getApplyTechnicianId()) .technicianId(takeLeaveEvent.getApplyTechnicianId())
.takeLeaveEventId(cmd.getTakeLeaveEventId())
.build(); .build();
overtimeRecordRepository.insert(overtimeRecord); overtimeRecordRepository.insert(overtimeRecord);
} }
......
...@@ -49,4 +49,6 @@ public class OvertimeRecord { ...@@ -49,4 +49,6 @@ public class OvertimeRecord {
private Long createTime; private Long createTime;
private Long lastUpdateTime; private Long lastUpdateTime;
private Long takeLeaveEventId;
} }
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