package com.mortals.xhx.module.attendance.dao;

import com.mortals.xhx.module.attendance.model.vo.AttendanceSummaryQuery;
import com.mortals.xhx.module.attendance.model.vo.ErrorSummaryVo;
import com.mortals.xhx.module.attendance.model.vo.LeaveSummaryVo;
import com.mortals.xhx.module.attendance.model.vo.VacationBalanceSummaryVo;

import java.util.List;

/***
 * 考勤汇总
 */
public interface AttendanceSummaryDao {

    /**
     * 汇总当前日期假期余额
     * @param query
     * @return
     */
    List<VacationBalanceSummaryVo> getVacationBalanceSummary(AttendanceSummaryQuery query);

    /**
     * 汇总当前日期请假情况
     * @param query
     * @return
     */
    List<LeaveSummaryVo> getLeaveSummary(AttendanceSummaryQuery query);

    /**
     * 汇总当前日期异常考勤
     * @param query
     * @return
     */
    List<ErrorSummaryVo> getErrorSummary(AttendanceSummaryQuery query);
}
