| | |
| | | package com.lf.server.mapper.show; |
| | | |
| | | |
| | | import com.lf.server.entity.bs.MpipelineEntity; |
| | | import com.lf.server.entity.ctrl.CountEntity; |
| | | import com.lf.server.entity.ctrl.IdNameEntity; |
| | | import com.lf.server.entity.show.OneMapEntity; |
| | | import org.apache.ibatis.annotations.MapKey; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.apache.ibatis.annotations.Param; |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | | * 管网一张图Mapper |
| | | * |
| | | * @author 邢锦双 |
| | | */ |
| | | @Mapper |
| | | @Repository |
| | | public interface OneMapMapper { |
| | | |
| | | |
| | | /** |
| | | * 项目类别conut |
| | | * |
| | |
| | | public List<String> provinceDimensionCount(); |
| | | |
| | | /** |
| | | * 全国维度-按照项自类型统计不同项目个数 |
| | | * |
| | | * @return {@link List}<{@link String}> |
| | | */ |
| | | public List<String> countProjectTypeNumber(); |
| | | |
| | | /** |
| | | * 数据存储conut |
| | | * |
| | | * @return {@link List}<{@link String}> |
| | | */ |
| | | public List<String> dataStorageCount(); |
| | | |
| | | /** |
| | | * 统计数据类别 |
| | | * |
| | | * @return {@link List}<{@link String}> |
| | | */ |
| | | public List<String> statisticalDataCategories(); |
| | | |
| | | /** |
| | | * 统计数据服务类型 |
| | | * |
| | | * @return {@link List}<{@link String}> |
| | | */ |
| | | public List<String> statisticalDataServiceType(); |
| | | |
| | | /** |
| | | * 登录人数统计 |
| | | * |
| | | * @return {@link List}<{@link String}> |
| | | */ |
| | | public List<String> loginNumberStatistics(); |
| | | |
| | | /** |
| | | * 文件格式conut |
| | |
| | | */ |
| | | public List<String> dataVisitCount(); |
| | | |
| | | /** |
| | | * 下载数统计 |
| | | * |
| | | * @return {@link List}<{@link String}> |
| | | */ |
| | | public List<String> countDownloads(); |
| | | |
| | | /** |
| | | * 统计项目显示 |
| | | * |
| | | * @return {@link List}<{@link String}> |
| | | */ |
| | | public List<String> countProjectDisplay(); |
| | | |
| | | /** |
| | | * 统计项目参观 |
| | | * |
| | | * @param mpipelineEntity mpipeline实体 |
| | | * @return {@link List}<{@link String}> |
| | | */ |
| | | public List<String> countProjectTour(MpipelineEntity mpipelineEntity); |
| | | |
| | | /** |
| | | * 选择项目参观列表 |
| | | * |
| | | * @return {@link List}<{@link String}> |
| | | */ |
| | | public List<String> selectProjectTour(); |
| | | |
| | | /** |
| | | * 统计项目类型 |
| | | * |
| | | * @return {@link List}<{@link String}> |
| | | */ |
| | | public List<OneMapEntity> selectProjectType1(); |
| | | |
| | | /** |
| | | * 选择项目类型 |
| | | * |
| | | * @param endSql 最终sql |
| | | * @return {@link List}<{@link OneMapEntity}> |
| | | */ |
| | | public List<OneMapEntity> selectProjectTypeOne(@Param("endSql") String endSql); |
| | | |
| | | /** |
| | | * 查询表信息 |
| | | * |
| | | * @param tableName |
| | | * @return {@link List}<{@link String}> |
| | | */ |
| | | public List<String> queryTableInfo(@Param("tableName") String tableName); |
| | | |
| | | /** |
| | | * 计算全球管道图 |
| | | * |
| | | * @return {@link List}<{@link String}> |
| | | */ |
| | | public List<String> countGlobalPipeMap(); |
| | | |
| | | /** |
| | | * 计算全国管道图 |
| | | * |
| | | * @return {@link List}<{@link String}> |
| | | */ |
| | | public List<String> countNationalPipeMap(); |
| | | |
| | | /** |
| | | * 全国管网图输送介质长度 |
| | | * |
| | | * @return {@link List}<{@link String}> |
| | | */ |
| | | public List<String> countZhPipeMapLenByMed(); |
| | | |
| | | /** |
| | | * 全国站场座数、阀室、管道数等 |
| | | * |
| | | * @return {@link List}<{@link String}> |
| | | */ |
| | | public List<String> countZhPipeStations(); |
| | | |
| | | /** |
| | | * 按项目统计项目存储量 |
| | | * |
| | | * @return {@link List}<{@link String}> |
| | | */ |
| | | public List<String> countStorageByProject(); |
| | | |
| | | /** |
| | | * 选择项目信息 |
| | | * 查询项目信息 |
| | | * |
| | | * @param projectCode 项目编码 |
| | | * @return {@link List}<{@link String}> |
| | | */ |
| | | public List<String> selectProjectInfo(String projectCode); |
| | | |
| | | /** |
| | | * 选择项目文件列表 |
| | | * |
| | | * @return {@link List}<{@link String}> |
| | | */ |
| | | public List<String> selectProjectFileList(); |
| | | |
| | | /** |
| | | * 计算存储项目 |
| | | * |
| | | * @param projectCode 项目代码 |
| | | * @return {@link List}<{@link String}> |
| | | */ |
| | | public List<String> countProjectStorage(String projectCode); |
| | | |
| | | /** |
| | | * 单个项目文件数量 |
| | | * |
| | | * @param projectCode 项目代码 |
| | | * @return |
| | | */ |
| | | @MapKey("") |
| | | public List<Map<String, Object>> countProjectType(String projectCode); |
| | | |
| | | /** |
| | | * 统计项目下 |
| | | * |
| | | * @param projectCode 项目代码 |
| | | * @return {@link List}<{@link String}> |
| | | */ |
| | | public List<String> countProjectDown(String projectCode); |
| | | |
| | | /** |
| | | * 按大类统计 - 数据统计 |
| | | * |
| | | * @return |
| | | */ |
| | | public List<CountEntity> countByMajor(); |
| | | |
| | | /** |
| | | * 查询中线缓冲区 |
| | | * |
| | | * @return |
| | | */ |
| | | public Integer selectLineBuffer(); |
| | | |
| | | /** |
| | | * 根据类型查询元数据(用于计算面积) |
| | | * |
| | | * @return |
| | | */ |
| | | public List<IdNameEntity> selectMetaByType(); |
| | | } |