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.TowerWorksheet;
import com.gxwebsoft.tower.param.TowerWorksheetParam;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 派单管理Mapper
 *
 * @author 科技小王子
 * @since 2023-07-02 16:15:31
 */
public interface TowerWorksheetMapper extends MPJBaseMapper<TowerWorksheet> {

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

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

}
