| | |
| | | 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;
|
| | |
| | | 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);
|
| | |
|
| | | /**
|
| | | * 审核功能
|
| | |
| | | * @param
|
| | | */
|
| | | void updateAgree(AgreeUpdateRequest request) throws Exception;
|
| | |
|
| | | /**
|
| | | * 结算去年剩余年假
|
| | | * @return
|
| | | * @throws ParseException
|
| | | */
|
| | | Double settlementLastYearTime(Long userId, String year) throws ParseException;
|
| | |
|
| | | /**
|
| | | * 获取年度年假额度
|
| | | */
|
| | | Double getAnnualLeaveQuota(Long userId, String year);
|
| | | } |