| | |
| | | import me.zhengjie.modules.attendance.domain.AttendanceMonthLeave; |
| | | import me.zhengjie.modules.attendance.repository.AttendanceMonthLeaveRepository; |
| | | import me.zhengjie.modules.constant.Constant; |
| | | import me.zhengjie.modules.salary.domain.Salary; |
| | | import me.zhengjie.modules.salary.service.dto.SalaryDto; |
| | | import me.zhengjie.modules.system.domain.Dept; |
| | | import me.zhengjie.modules.system.domain.Job; |
| | | import me.zhengjie.modules.system.domain.SysCompany; |
| | |
| | | leaveTypeList.add(attTypeInfo); |
| | | } |
| | | }else{ |
| | | Double yearTime = attendanceLeaveService.getYearTimeLength(attendanceMonthDto.getUserId()); |
| | | Double yearTime = attendanceLeaveService.getYearTimeLength(attendanceMonthDto.getUserId(), null); |
| | | attendanceMonthDto.setYearTime(yearTime); |
| | | } |
| | | attendanceMonthDto.setLeaveTypeList(leaveTypeList); |
| | |
| | | map.put("当月使用调休假", locationLeave); |
| | | map.put("当月使用事假", compassionateLeave); |
| | | |
| | | Double yearTime = attendanceLeaveService.getYearTimeLength(attendanceMonth.getUserId()); |
| | | Double yearTime = attendanceLeaveService.getYearTimeLength(attendanceMonth.getUserId(), null); |
| | | map.put("剩余年假", yearTime); |
| | | |
| | | Double overTime = attendanceLeaveService.getOverTimeLength(attendanceMonth.getUserId(), LocalDateTime.now()); |