package com.gxwebsoft.tower.mapper;

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

import java.util.List;

/**
 * 项目管理Mapper
 *
 * @author 科技小王子
 * @since 2023-05-22 13:30:39
 */
public interface TowerProjectMapper extends BaseMapper<TowerProject> {

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

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

}
