| | |
| | | package com.lf.server.controller.show; |
| | | |
| | | |
| | | import com.lf.server.annotation.SysLog; |
| | | import com.lf.server.controller.all.BaseController; |
| | | import com.lf.server.entity.all.ResponseMsg; |
| | | import com.lf.server.service.show.OneMapService; |
| | |
| | | |
| | | @Api(tags = "管网一张图") |
| | | @RestController |
| | | @RequestMapping("/one_Map") |
| | | @RequestMapping("/oneMap") |
| | | public class OneMapController extends BaseController { |
| | | |
| | | @Autowired |
| | |
| | | * 项目类别 |
| | | * Project category |
| | | */ |
| | | @SysLog() |
| | | @ApiOperation(value = "项目类别") |
| | | @GetMapping("/countProjectCategory") |
| | | public ResponseMsg<Object> projectCategoryConut() { |
| | | List<String> resList = aMapOfPipelineService.projectCategoryConut(); |
| | | public ResponseMsg<Object> projectCategoryCount() { |
| | | List<String> resList = aMapOfPipelineService.projectCategoryCount(); |
| | | return success(resList); |
| | | } |
| | | |
| | |
| | | * 项目位置分布接口 |
| | | * Project location |
| | | */ |
| | | @SysLog() |
| | | @ApiOperation(value = "项目位置分布接口") |
| | | @GetMapping("/countProjectLocation") |
| | | public ResponseMsg<Object> projectLocationConut() { |
| | | List<String> resList = aMapOfPipelineService.projectLocationConut(); |
| | | public ResponseMsg<Object> projectLocationCount() { |
| | | List<String> resList = aMapOfPipelineService.projectLocationCount(); |
| | | return success(resList); |
| | | } |
| | | |
| | |
| | | * 国家维度-数量统计 |
| | | * Country dimension |
| | | */ |
| | | @SysLog() |
| | | @ApiOperation(value = "国家维度-数量统计") |
| | | @GetMapping("/conutCountryDimension") |
| | | public ResponseMsg<Object> countryDimensionConut() { |
| | | List<String> resList = aMapOfPipelineService.countryDimensionConut(); |
| | | @GetMapping("/countCountryDimension") |
| | | public ResponseMsg<Object> countryDimensionCount() { |
| | | List<String> resList = aMapOfPipelineService.countryDimensionCount(); |
| | | return success(resList); |
| | | } |
| | | |
| | |
| | | * 省维度-数量统计 |
| | | * Province dimension - quantity |
| | | */ |
| | | @SysLog() |
| | | @ApiOperation(value = "省维度-数量统计") |
| | | @GetMapping("/conutProvinceDimension") |
| | | public ResponseMsg<Object> provinceDimensionConut() { |
| | | List<String> resList = aMapOfPipelineService.provinceDimensionConut(); |
| | | @GetMapping("/countProvinceDimension") |
| | | public ResponseMsg<Object> provinceDimensionCount() { |
| | | List<String> resList = aMapOfPipelineService.provinceDimensionCount(); |
| | | return success(resList); |
| | | } |
| | | |
| | |
| | | * 数据存储 |
| | | * data storage |
| | | */ |
| | | @SysLog() |
| | | @ApiOperation(value = "数据存储统计") |
| | | @GetMapping("/countDataStorage") |
| | | public ResponseMsg<Object> dataStorageConut() { |
| | | List<String> resList = aMapOfPipelineService.dataStorageConut(); |
| | | public ResponseMsg<Object> dataStorageCount() { |
| | | List<String> resList = aMapOfPipelineService.dataStorageCount(); |
| | | return success(resList); |
| | | } |
| | | |
| | |
| | | * 文件格式维度-文件个数 |
| | | * File format dimension |
| | | */ |
| | | @SysLog() |
| | | @ApiOperation(value = "文件格式维度-文件个数") |
| | | @GetMapping("/conutFileFormat") |
| | | public ResponseMsg<Object> fileFormatConut() { |
| | | List<String> resList = aMapOfPipelineService.fileFormatConut(); |
| | | @GetMapping("/countFileFormat") |
| | | public ResponseMsg<Object> fileFormatCount() { |
| | | List<String> resList = aMapOfPipelineService.fileFormatCount(); |
| | | return success(resList); |
| | | } |
| | | |
| | |
| | | * 数据申请 |
| | | * Data application |
| | | */ |
| | | @SysLog() |
| | | @ApiOperation(value = "数据申请") |
| | | @GetMapping("/conutDataApply") |
| | | public ResponseMsg<Object> dataApplyConut() { |
| | | List<String> resList = aMapOfPipelineService.dataApplyConut(); |
| | | @GetMapping("/countDataApply") |
| | | public ResponseMsg<Object> dataApplyCount() { |
| | | List<String> resList = aMapOfPipelineService.dataApplyCount(); |
| | | return success(resList); |
| | | } |
| | | |
| | |
| | | * 访问次数 |
| | | * Number of visits |
| | | */ |
| | | @SysLog() |
| | | @ApiOperation(value = "访问次数") |
| | | @GetMapping("/conutDataVisit") |
| | | public ResponseMsg<Object> dataVisitConut() { |
| | | List<String> resList = aMapOfPipelineService.dataVisitConut(); |
| | | @GetMapping("/countDataVisit") |
| | | public ResponseMsg<Object> dataVisitCount() { |
| | | List<String> resList = aMapOfPipelineService.dataVisitCount(); |
| | | return success(resList); |
| | | } |
| | | |
| | |
| | | * 访问次数 |
| | | * Number of visits |
| | | */ |
| | | @SysLog() |
| | | @ApiOperation(value = "访问次数") |
| | | @GetMapping("data_visit1") |
| | | public ResponseMsg<Object> dataVisitConut1() { |
| | | List<String> resList = aMapOfPipelineService.dataVisitConut(); |
| | | List<String> resList = aMapOfPipelineService.dataVisitCount(); |
| | | return success(resList); |
| | | } |
| | | |