package com.gxwebsoft.tower.mapper;

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

import java.util.List;

/**
 * 项目标地Mapper
 *
 * @author 科技小王子
 * @since 2024-01-05 22:01:16
 */
public interface TowerProjectBuildingMapper extends BaseMapper<TowerProjectBuilding> {

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

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

}
