package com.yh.saas.plugin.yiliangyiyun.mapper;

import com.yh.saas.plugin.yiliangyiyun.entity.ClockInfo;
import com.yh.saas.plugin.yiliangyiyun.entity.LeaveInfo;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.yh.saas.plugin.yiliangyiyun.entity.QualityInspectionManagement;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 记录请假信息 Mapper 接口
 * </p>
 *
 * @author Gdc
 * @since 2022-06-22
 */
public interface LeaveInfoMapper extends BaseMapper<LeaveInfo> {
    /**
     * 根据条件查询总数
     *
     * @param pageView
     * @return
     */
    Integer getCountByCondition(Map<String, Object> pageView);

    /**
     * 根据条件查询请假记录
     *
     * @param pageView
     * @return
     */
    List<LeaveInfo> getListByCondition(Map<String, Object> pageView);
    /**
     * 根据条件查询总数(PC)
     *
     * @param pageView
     * @return
     */
    Integer getCountByConditionPc(Map<String, Object> pageView);

    /**
     * 根据条件查询请假记录(PC)
     *
     * @param pageView
     * @return
     */
    List<LeaveInfo> getListByConditionPc(Map<String, Object> pageView);

    /**
     * 根据条件查询请假编号列表
     *
     * @param pageView
     * @return
     */
    List<LeaveInfo> getListByConditionLeave(Map<String, Object> pageView);
}
