| | |
| | | |
| | | @RestController |
| | | @RequestMapping("battMapInformation") |
| | | @Api(tags = "首页-电池组地图信息") |
| | | @Api(tags = "数据管理-机房定位信息管理") |
| | | public class BattMapInformationController { |
| | | |
| | | @Resource |
| | |
| | | @ApiOperation(value = "添加") |
| | | public Response add(@RequestBody BattMapInformation entity){ |
| | | return service.add(entity); |
| | | } |
| | | |
| | | @PutMapping("") |
| | | @ApiOperation(value = "更新") |
| | | public Response update(@RequestBody BattMapInformation entity){ |
| | | return service.update(entity); |
| | | } |
| | | |
| | | @GetMapping("/searchUserManageStation") |
| | |
| | | return service.delete(battMapInformation); |
| | | } |
| | | @GetMapping("/searchAddressByStationId") |
| | | @ApiOperation(value = "获取地址") |
| | | @ApiOperation(value = "获取地址",notes = "查询站点的经纬度") |
| | | public Response searchAddressByStationId(@RequestParam String stationId){ |
| | | return service.searchAddressByStationId(stationId); |
| | | } |
| | |
| | | @GetMapping("/findStationState") |
| | | @ApiOperation(value = "统计核容/停电放电",notes = "统计核容/停电放电,设备告警,设备充电,在线浮充") |
| | | public Response findStationState(){ |
| | | return new Response(); |
| | | return service.findStationState(); |
| | | } |
| | | |
| | | } |