From 4d730af0447c686133130d0116a0fa3dd82c2dca Mon Sep 17 00:00:00 2001
From: BAOLH <baolh@yhzhg.cn>
Date: Tue, 10 Nov 2026 01:41:03 +0000
Subject: [PATCH] Merge branch 'wcd-2411-update' into wcd
---
eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/attendance/service/AttendanceLeaveService.java | 26 +++++++++++++++++++++-----
1 files changed, 21 insertions(+), 5 deletions(-)
diff --git a/eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/attendance/service/AttendanceLeaveService.java b/eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/attendance/service/AttendanceLeaveService.java
index 89c9122..0af5fa6 100644
--- a/eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/attendance/service/AttendanceLeaveService.java
+++ b/eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/attendance/service/AttendanceLeaveService.java
@@ -16,13 +16,13 @@
package me.zhengjie.modules.attendance.service;
import me.zhengjie.modules.attendance.domain.AgreeUpdateRequest;
-import me.zhengjie.modules.attendance.domain.AttendanceCardreplacement;
import me.zhengjie.modules.attendance.domain.AttendanceLeave;
import me.zhengjie.modules.attendance.service.dto.AttendanceLeaveDto;
import me.zhengjie.modules.attendance.service.dto.AttendanceLeaveQueryCriteria;
import org.springframework.data.domain.Pageable;
import java.text.ParseException;
+import java.time.LocalDateTime;
import java.util.Map;
import java.util.List;
import java.io.IOException;
@@ -79,20 +79,24 @@
AttendanceLeaveDto calcTimeLength(AttendanceLeave resources) throws Exception;
/**
- *获取剩余年假
+ * 获取剩余年假
* @return
* @throws ParseException
*/
- Double getYearTimeLength(Long userId) throws ParseException;
+ Double getYearTimeLength(Long userId, String year) throws ParseException;
/**
*获取剩余调休假
* @return
* @throws ParseException
*/
- Double getOverTimeLength(Long userId) throws ParseException;
+ Double getOverTimeLength(Long userId, LocalDateTime localDateTime) throws ParseException;
- Double getOverTimeCloseLength(Long userId);
+ Double getOverTimeLength(Long userId, String yearMonth) throws ParseException;
+
+ Double getOverTimeCloseLength(Long userId, LocalDateTime localDateTime);
+
+ Double getOverTimeCurrentCloseLength(Long userId, LocalDateTime localDateTime);
/**
* 审核功能
@@ -119,4 +123,16 @@
* @param
*/
void updateAgree(AgreeUpdateRequest request) throws Exception;
+
+ /**
+ * 结算去年剩余年假
+ * @return
+ * @throws ParseException
+ */
+ Double settlementLastYearTime(Long userId, String year) throws ParseException;
+
+ /**
+ * 获取年度年假额度
+ */
+ Double getAnnualLeaveQuota(Long userId, String year);
}
\ No newline at end of file
--
Gitblit v1.9.3