package com.gxwebsoft.oa.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.gxwebsoft.oa.entity.Project;
import com.gxwebsoft.oa.param.ProjectParam;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 项目管理表Mapper
 *
 * @author WebSoft
 * @since 2022-11-16 11:00:43
 */
public interface ProjectMapper extends BaseMapper<Project> {

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

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

}
