package com.gxwebsoft.tower.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.github.yulichang.base.MPJBaseMapper;
import com.gxwebsoft.tower.entity.TowerWorksheetCheck;
import com.gxwebsoft.tower.param.TowerWorksheetCheckParam;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 派单现场核验Mapper
 *
 * @author 科技小王子
 * @since 2023-07-04 01:24:45
 */
public interface TowerWorksheetCheckMapper extends MPJBaseMapper<TowerWorksheetCheck> {

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

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

}
