yao-zengchun
2025-11-11 08c514a901b0e7e1661c41f4472cbac08051a5c1
eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/quartz/service/impl/AttendanceMonthTalkServiceImpl.java
@@ -228,7 +228,7 @@
                    Double yearTime = attendanceLeaveService.getYearTimeLength(insertData.get(i).getUserId());
                    attendanceMonthLeave.setSurplusDuration(yearTime);
                } else if (leaveTpeList.get(i2).equals(Constant.LEAVE_TYPE_LACTATION_LEAVE)) {
                    Double yearTime = attendanceLeaveService.getOverTimeLength(insertData.get(i).getUserId());
                    Double yearTime = attendanceLeaveService.getOverTimeLength(insertData.get(i).getUserId(), LocalDateTime.now());
                    attendanceMonthLeave.setSurplusDuration(yearTime);
                }
                attendanceMonthLeaveRepository.save(attendanceMonthLeave);