package com.gxwebsoft.oa.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gxwebsoft.common.core.web.PageResult;
import com.gxwebsoft.oa.entity.Project;
import com.gxwebsoft.oa.param.ProjectParam;

import java.util.List;

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

    /**
     * 分页关联查询
     *
     * @param param 查询参数
     * @return PageResult<Project>
     */
    PageResult<Project> pageRel(ProjectParam param);

    /**
     * 关联查询全部
     *
     * @param param 查询参数
     * @return List<Project>
     */
    List<Project> listRel(ProjectParam param);

    /**
     * 根据id查询
     *
     * @param projectId 项目ID
     * @return Project
     */
    Project getByIdRel(Integer projectId);

}
