package com.moon.server.mapper.show;
|
|
import com.moon.server.entity.show.PipelineEntity;
|
import org.apache.ibatis.annotations.Mapper;
|
import org.springframework.stereotype.Repository;
|
|
import java.util.List;
|
|
/**
|
* 管道分析映射类
|
* @author WWW
|
*/
|
@Mapper
|
@Repository
|
public interface PipelineMapper {
|
/**
|
* 查询管道
|
*
|
* @param name
|
* @return
|
*/
|
public List<PipelineEntity> selectPipelines(String name);
|
|
/**
|
* 查询管段
|
*
|
* @return 管线实体类集合
|
*/
|
public List<PipelineEntity> selectSegNames();
|
|
/**
|
* 查询管线分析
|
*
|
* @param tab 表名
|
* @param gid ID
|
* @return 管线实体类集合
|
*/
|
public List<PipelineEntity> selectPipeAnalysis(String tab, Integer gid);
|
}
|