BAOLH
2026-11-10 4d730af0447c686133130d0116a0fa3dd82c2dca
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);
}