package com.gxwebsoft.tower.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gxwebsoft.common.core.web.PageResult;
import com.gxwebsoft.tower.entity.TowerProject;
import com.gxwebsoft.tower.param.TowerProjectParam;

import java.util.List;

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

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

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

    /**
     * 根据id查询
     *
     * @param projectId 自增ID
     * @return TowerProject
     */
    TowerProject getByIdRel(Integer projectId);

}
