| | |
| | | ValidationUtil.isNull( attendanceLeave.getId(),"AttendanceLeave","id",resources.getId());
|
| | | attendanceLeave.copy(resources);
|
| | | AttendanceLeave attendanceLeaveSaved = attendanceLeaveRepository.save(attendanceLeave);
|
| | | if (attendanceLeaveSaved.getLeaveType().equals(Constant.LEAVE_TYPE_REPLACE)) {
|
| | | this.overtimeDeduction(attendanceLeaveSaved, false);
|
| | | if (attendanceLeaveSaved.getLeaveType().equals(Constant.LEAVE_TYPE_REPLACE) && attendanceLeaveSaved.getApprovalStatus().equals(Constant.APPROVAL_STATUS_RETURNED)) {
|
| | | this.overtimeDeduction(attendanceLeaveSaved, true);
|
| | | }
|
| | | // 调用定时任务修改考勤记录
|
| | | List<User> userList = new ArrayList<>();
|