20230221@xingjs@提交官网一张图相关内容接口
| | |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 项目工程展示 |
| | | * Project engineering display |
| | | */ |
| | | @SysLog() |
| | | @ApiOperation(value = "项目工程展示") |
| | | @GetMapping("/countProjectDisplay") |
| | | public ResponseMsg<Object> countProjectDisplay() { |
| | | List<String> resList = aMapOfPipelineService.countProjectDisplay(); |
| | | return success(resList); |
| | | } |
| | | |
| | | /** |
| | | * 项目工程巡视 |
| | | * Project inspection tour |
| | | */ |
| | | @SysLog() |
| | | @ApiOperation(value = "项目工程巡视") |
| | | @GetMapping("/countProjectTour") |
| | | public ResponseMsg<Object> countProjectTour() { |
| | | return success("hello! 您已经成功访问-项目工程巡视"); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 项目工程类型 |
| | | * Project type |
| | | */ |
| | | /*@SysLog() |
| | | @ApiOperation(value = "项目工程类型") |
| | | @GetMapping("/countProjectType") |
| | | public ResponseMsg<Object> countProjectType() { |
| | | List<String> resList = aMapOfPipelineService.countProjectType1(); |
| | | return success(resList); |
| | | }*/ |
| | | |
| | | |
| | | } |
| | |
| | | */ |
| | | public List<String> dataVisitCount(); |
| | | |
| | | /** |
| | | * 统计项目显示 |
| | | * |
| | | * @return {@link List}<{@link String}> |
| | | */ |
| | | public List<String> countProjectDisplay(); |
| | | |
| | | |
| | | |
| | | /** |
| | | * 统计项目类型 |
| | | * |
| | | * @return {@link List}<{@link String}> |
| | | */ |
| | | public List<String> countProjectType1(); |
| | | //public List<String> countProjectType2(); |
| | | |
| | | } |
| | |
| | | return aMapOfPipelineMapper.dataVisitCount(); |
| | | } |
| | | |
| | | /** |
| | | * 统计项目显示 |
| | | * |
| | | * @return {@link List}<{@link String}> |
| | | */ |
| | | public List<String> countProjectDisplay() { |
| | | return aMapOfPipelineMapper.countProjectDisplay(); |
| | | } |
| | | |
| | | |
| | | |
| | | /** |
| | | * 统计项目类型 |
| | | * |
| | | * @return {@link List}<{@link String}> |
| | | */ |
| | | @Override |
| | | public List<String> countProjectType1() { |
| | | return aMapOfPipelineMapper.countProjectType1(); |
| | | } |
| | | |
| | | } |
| | |
| | | select modular1,count(*) from lf.sys_operate group by modular1 order by modular1; |
| | | </select> |
| | | |
| | | <!-- 统计项目显示 --> |
| | | <select id="countProjectDisplay" resultType="java.util.Map"> |
| | | select PROJNAME,* from bs.bs_project WHERE PROJNAME IS NOT NULL; |
| | | </select> |
| | | |
| | | |
| | | <!-- 统计项目类型 1 --> |
| | | <select id="countProjectType1" resultType="java.util.Map"> |
| | | select (select string_agg(code, ',') from lf.sys_dir where name = a.name) "key", name "value" from lf.sys_dir a |
| | | where name in ('测量(ESV)', '勘察(EGE)', '地灾(EGD)', '洞库(EGD)') group by name order by name; |
| | | </select> |
| | | |
| | | <!-- 统计项目类型 2 --> |
| | | <select id="countProjectType2" resultType="java.util.Map"> |
| | | select modular1,count(*) from lf.sys_operate group by modular1 order by modular1; |
| | | </select> |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |