package com.gxwebsoft.tower.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.gxwebsoft.tower.entity.TowerWorksheetAudit;
import com.gxwebsoft.tower.param.TowerWorksheetAuditParam;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 派单审核Mapper
 *
 * @author 科技小王子
 * @since 2023-08-21 00:46:43
 */
public interface TowerWorksheetAuditMapper extends BaseMapper<TowerWorksheetAudit> {

    /**
     * 分页查询
     *
     * @param page  分页对象
     * @param param 查询参数
     * @return List<TowerWorksheetAudit>
     */
    List<TowerWorksheetAudit> selectPageRel(@Param("page") IPage<TowerWorksheetAudit> page,
                             @Param("param") TowerWorksheetAuditParam param);

    /**
     * 查询全部
     *
     * @param param 查询参数
     * @return List<User>
     */
    List<TowerWorksheetAudit> selectListRel(@Param("param") TowerWorksheetAuditParam param);

}
