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

import java.util.List;

/**
 * 合同设备清单Mapper
 *
 * @author 科技小王子
 * @since 2023-06-09 13:42:20
 */
public interface TowerContractEquipmentMapper extends MPJBaseMapper<TowerContractEquipment> {

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

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

}
