| | |
| | | import com.lf.server.controller.all.BaseController; |
| | | import com.lf.server.entity.all.ResponseMsg; |
| | | import com.lf.server.entity.bs.MpipelineEntity; |
| | | import com.lf.server.entity.show.OneMapEntity; |
| | | import com.lf.server.service.show.OneMapService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | |
| | | return success(resList); |
| | | } |
| | | |
| | | /** |
| | | * 全国维度-按照项自类型统计不同项目个数 |
| | | * Count the number of different items according to their type |
| | | */ |
| | | @SysLog() |
| | | @ApiOperation(value = "全国维度-按照项自类型统计不同项目个数") |
| | | @GetMapping("/countProjectTypeNumber") |
| | | public ResponseMsg<Object> countProjectTypeNumber() { |
| | | List<String> resList = aMapOfPipelineService.countProjectTypeNumber(); |
| | | return success(resList); |
| | | } |
| | | |
| | | |
| | | //============[数据统计 data Statistics]================== |
| | | |
| | |
| | | List<String> resList = aMapOfPipelineService.dataStorageCount(); |
| | | return success(resList); |
| | | } |
| | | |
| | | /** |
| | | * 数据大类统计 |
| | | * Statistics of large categories of data |
| | | */ |
| | | @SysLog() |
| | | @ApiOperation(value = "数据大类统计") |
| | | @GetMapping("/countLargeCategories") |
| | | public ResponseMsg<Object> statisticalDataCategories() { |
| | | List<String> resList = aMapOfPipelineService.statisticalDataCategories(); |
| | | return success(resList); |
| | | } |
| | | |
| | | /** |
| | | * 数据服务类型统计 |
| | | * Data service type statistics |
| | | */ |
| | | @SysLog() |
| | | @ApiOperation(value = "数据服务类型统计") |
| | | @GetMapping("/countDataServiceType") |
| | | public ResponseMsg<Object> statisticalDataServiceType() { |
| | | List<String> resList = aMapOfPipelineService.statisticalDataServiceType(); |
| | | return success(resList); |
| | | } |
| | | |
| | | /** |
| | | * 登录次数统计 |
| | | * Number of logins |
| | | */ |
| | | @SysLog() |
| | | @ApiOperation(value = "登录次数统计") |
| | | @GetMapping("/countLoginNumber") |
| | | public ResponseMsg<Object> loginNumberStatistics() { |
| | | List<String> resList = aMapOfPipelineService.loginNumberStatistics(); |
| | | return success(resList); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 数据统计 |
| | |
| | | /** |
| | | * 下载量统计 |
| | | * Download statistics |
| | | * <p>type类型:1-Shp文件,2-专题图,3-源数据,4-业务数据,5-管道分析,6-统计报告<p/> |
| | | * <p>type类型:1-Shp文件,2-专题图,3-元数据,4-业务数据,5-管道分析,6-统计报告<p/> |
| | | */ |
| | | @SysLog() |
| | | @ApiOperation(value = "下载量统计") |
| | |
| | | |
| | | |
| | | /** |
| | | * 项目工程类型 |
| | | * Project type |
| | | * 工程项目目录 |
| | | * Project Catalog |
| | | */ |
| | | /*@SysLog() |
| | | @ApiOperation(value = "项目工程类型") |
| | | @GetMapping("/countProjectType") |
| | | public ResponseMsg<Object> countProjectType() { |
| | | List<String> resList = aMapOfPipelineService.countProjectType1(); |
| | | @SysLog() |
| | | @ApiOperation(value = "工程项目目录") |
| | | @GetMapping("/selectProjectType") |
| | | public ResponseMsg<Object> selectProjectType() { |
| | | List<OneMapEntity> resList = aMapOfPipelineService.selectProjectType1(); |
| | | return success(resList); |
| | | }*/ |
| | | } |
| | | |
| | | /** |
| | | * 根据表名查询表字段信息 |
| | |
| | | } |
| | | |
| | | |
| | | //============[专题展示 Thematic presentations]================== |
| | | |
| | | /** |
| | | * 全球管网图 |
| | | * Global pipe network map |
| | | */ |
| | | @SysLog() |
| | | @ApiOperation(value = "全球管网图") |
| | | @GetMapping("/countGlobalPipeMap") |
| | | public ResponseMsg<Object> countGlobalPipeMap() { |
| | | List<String> resList = aMapOfPipelineService.countGlobalPipeMap(); |
| | | return success(resList); |
| | | } |
| | | |
| | | /** |
| | | * 全国管网图 |
| | | * National pipe network map |
| | | */ |
| | | @SysLog() |
| | | @ApiOperation(value = "全国管网图") |
| | | @GetMapping("/countNationalPipeMap") |
| | | public ResponseMsg<Object> countNationalPipeMap() { |
| | | List<String> resList = aMapOfPipelineService.countNationalPipeMap(); |
| | | return success(resList); |
| | | } |
| | | |
| | | /** |
| | | * 全国管网图输送介质长度 |
| | | * National pipe network diagram conveying medium length |
| | | */ |
| | | @SysLog() |
| | | @ApiOperation(value = "全国管网图输送介质长度") |
| | | @GetMapping("/countZhPipeMapLength") |
| | | public ResponseMsg<Object> countZhPipeMapLenByMed() { |
| | | List<String> resList = aMapOfPipelineService.countZhPipeMapLenByMed(); |
| | | return success(resList); |
| | | } |
| | | |
| | | /** |
| | | * 统计全国站场座数 |
| | | * Number of station seats nationwide |
| | | */ |
| | | @SysLog() |
| | | @ApiOperation(value = "全国站场座数、阀室、管道数等") |
| | | @GetMapping("/countZhPipeStations") |
| | | public ResponseMsg<Object> countZhPipeStations() { |
| | | List<String> resList = aMapOfPipelineService.countZhPipeStations(); |
| | | return success(resList); |
| | | } |
| | | |
| | | |
| | | //============[工程展示 Engineering Showcase]================== |
| | | |
| | | /** |
| | | * 项目信息查询 |
| | | * Project information query |
| | | */ |
| | | @SysLog() |
| | | @ApiOperation(value = "项目信息查询") |
| | | @GetMapping("/selectProjectInfo") |
| | | public ResponseMsg<Object> selectProjectInfo(@RequestParam("projectName") String projectName) { |
| | | List<String> resList = aMapOfPipelineService.selectProjectInfo(projectName); |
| | | return success(resList); |
| | | } |
| | | /** |
| | | * 项目文件列表查询 |
| | | * Project file list query |
| | | */ |
| | | @SysLog() |
| | | @ApiOperation(value = "项目文件列表查询") |
| | | @GetMapping("/selectProjectFileList") |
| | | public ResponseMsg<Object> selectProjectFileList() { |
| | | List<String> resList = aMapOfPipelineService.selectProjectFileList(); |
| | | return success(resList); |
| | | } |
| | | |
| | | /** |
| | | * 单个项目存储量 |
| | | * |
| | | * @param projectCode 项目代码 |
| | | * @return {@link ResponseMsg}<{@link Object}> |
| | | */ |
| | | @SysLog() |
| | | @ApiOperation(value = "单个项目存储量") |
| | | @GetMapping("/countProjectStorage") |
| | | public ResponseMsg<Object> countProjectStorage(@RequestParam("projectCode") String projectCode) { |
| | | List<String> resList = aMapOfPipelineService.countProjectStorage(projectCode); |
| | | return success(resList); |
| | | } |
| | | |
| | | /** |
| | | * 单个项目文件数量 |
| | | * The number of individual project files |
| | | * |
| | | * @param projectCode 项目代码 |
| | | * @return {@link ResponseMsg}<{@link Object}> |
| | | */ |
| | | @SysLog() |
| | | @ApiOperation(value = "单个项目文件类型数量") |
| | | @GetMapping("/countProjectType") |
| | | public ResponseMsg<Object> countProjectType(@RequestParam("projectCode") String projectCode) { |
| | | List<String> resList = aMapOfPipelineService.countProjectType(projectCode); |
| | | return success(resList); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 统计项目下 |
| | | * 单个项目下载量 |
| | | * |
| | | * @param projectCode 项目代码 |
| | | * @return {@link ResponseMsg}<{@link Object}> |
| | | */ |
| | | @SysLog() |
| | | @ApiOperation(value = "单个项目下载量") |
| | | @GetMapping("/countProjectDown") |
| | | public ResponseMsg<Object> countProjectDown(@RequestParam("projectCode") String projectCode) { |
| | | List<String> resList = aMapOfPipelineService.countProjectDown(projectCode); |
| | | return success(resList); |
| | | } |
| | | |
| | | |
| | | |
| | | } |