| | |
| | | |
| | | @Api(tags = "管网一张图") |
| | | @RestController |
| | | @RequestMapping("/one_map") |
| | | @RequestMapping("/oneMap") |
| | | public class OneMapController extends BaseController { |
| | | |
| | | @Autowired |
| | | OneMapService aMapOfPipelineService; |
| | | |
| | | //@SysLog() |
| | | @GetMapping("/hello") |
| | | public ResponseMsg<Object> hello() { |
| | | System.out.println("log = " + log); |
| | | return success("hello! 您已经成功访问", 1); |
| | | } |
| | | |
| | | |
| | | //============[项目统计 project Statistics]================== |
| | | |
| | | /** |
| | | * 项目类别 |
| | | * Project category |
| | |
| | | |
| | | |
| | | /** |
| | | * 数据统计 |
| | | * 访问次数 |
| | | * Number of visits |
| | | * 项目工程展示 |
| | | * Project engineering display |
| | | */ |
| | | @SysLog() |
| | | @ApiOperation(value = "访问次数") |
| | | @GetMapping("data_visit1") |
| | | public ResponseMsg<Object> dataVisitConut1() { |
| | | List<String> resList = aMapOfPipelineService.dataVisitCount(); |
| | | @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); |
| | | }*/ |
| | | |
| | | |
| | | } |