| | |
| | | return service.insertStation(stationInf); |
| | | } |
| | | |
| | | @ApiOperation(value = "编辑站点") |
| | | @GetMapping("updateStation") |
| | | public Response updateStation(@RequestParam(required = false) String nodeStation, @RequestParam(required = false) String stationType |
| | | , @RequestParam(required = false) String stationLongitude, @RequestParam(required = false) String stationLatitude |
| | | , @RequestParam(required = false) String stationAddr, @RequestParam String stationId) { |
| | | return service.updateStation(nodeStation, stationType, stationLongitude, stationLatitude, stationAddr, stationId); |
| | | } |
| | | |
| | | @ApiOperation(value = "编辑机房名") |
| | | @GetMapping("updateName") |
| | | public Response updateName(@RequestParam(required = false) String stationName, @RequestParam(required = false) String stationName1 |
| | | , @RequestParam(required = false) String stationName2, @RequestParam(required = false) String stationName3 |
| | | , @RequestParam(required = false) String stationName4, @RequestParam(required = false) String stationName5 |
| | | , @RequestParam String stationId) { |
| | | return service.updateName(stationName, stationName1, stationName2, stationName3, stationName4, stationName5, stationId); |
| | | } |
| | | |
| | | @ApiOperation(value = "删除总站点") |
| | | @GetMapping("deleteStation") |
| | | public Response deleteStation(@RequestParam int num) { |
| | | return service.deleteStation(num); |
| | | public Response deleteStation(@RequestParam String stationId) { |
| | | return service.deleteStation(stationId); |
| | | } |
| | | |
| | | @GetMapping("/searchAllStationName1") |