From c7ed489cee1127e3b4f96edf74e24b01c065ac2a Mon Sep 17 00:00:00 2001
From: yao-zengchun <yao-zengchun@smhc.co.jp>
Date: Thu, 08 Jan 2026 09:47:59 +0000
Subject: [PATCH] Merge branch 'wcd' of http://192.168.1.110:5678/r/pms-upgrade into wcd

---
 eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/attendance/service/impl/AttendanceMonthServiceImpl.java |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/attendance/service/impl/AttendanceMonthServiceImpl.java b/eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/attendance/service/impl/AttendanceMonthServiceImpl.java
index 2fedcb0..bd5e63f 100644
--- a/eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/attendance/service/impl/AttendanceMonthServiceImpl.java
+++ b/eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/attendance/service/impl/AttendanceMonthServiceImpl.java
@@ -21,8 +21,6 @@
 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;
@@ -125,7 +123,7 @@
                         leaveTypeList.add(attTypeInfo);
                     }
                 }else{
-                    Double yearTime = attendanceLeaveService.getYearTimeLength(attendanceMonthDto.getUserId());
+                    Double yearTime = attendanceLeaveService.getYearTimeLength(attendanceMonthDto.getUserId(), null);
                     attendanceMonthDto.setYearTime(yearTime);
                 }
                 attendanceMonthDto.setLeaveTypeList(leaveTypeList);
@@ -316,7 +314,7 @@
             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());

--
Gitblit v1.9.3