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

import com.baomidou.mybatisplus.plugins.Page;
import com.yh.saas.plugin.yiliangyiyun.entity.ClockInfo;
import com.yh.saas.plugin.yiliangyiyun.entity.LeaveInfo;
import com.baomidou.mybatisplus.service.IService;
import com.yh.saas.plugin.yiliangyiyun.entity.QualityInspectionManagement;

import java.util.List;

/**
 * <p>
 * 记录请假信息 服务类
 * </p>
 *
 * @author Gdc
 * @since 2022-06-22
 */
public interface ILeaveInfoService extends IService<LeaveInfo> {
    /**
     * 添加请假信息
     *
     * @param leaveInfo
     */
    String addLeave(LeaveInfo leaveInfo);
    /**
     * 请假记录查询
     *
     * @param leaveInfo
     * @return
     */
    Page<LeaveInfo> selectLeaveInfo(LeaveInfo leaveInfo);
    /**
     * 请假记录查询(PC)
     *
     * @param leaveInfo
     * @return
     */
    Page<LeaveInfo> selectLeaveInfoPc(LeaveInfo leaveInfo);
    /**
     * 查看请假信息
     * @param id
     */
    LeaveInfo getLeaveInfo(String id);
    /**
     * 查询请假编号
     * @param
     * @return
     */
    List<LeaveInfo> selectLeaveNoList(LeaveInfo leaveInfo);
}
