| | |
| | | UserInf userInf = (UserInf) ActionUtil.getUser(); |
| | | return service.searchStationNameInGroup(userInf.getUId().intValue(), stationName1); |
| | | } |
| | | @GetMapping("/searchStationNameInGroup2") |
| | | @ApiOperation(value = "查询用户管理下的机房",notes = "原serchStationNameInGroup接口,返回stationName") |
| | | public Response searchBattGroupByStationName2(@RequestParam(required = false)String stationName1){ |
| | | UserInf userInf = (UserInf) ActionUtil.getUser(); |
| | | return service.searchStationNameInGroup2(userInf.getUId().intValue(), stationName1); |
| | | } |
| | | |
| | | @GetMapping("/searchInform") |
| | | @ApiOperation(value = "电池组信息配置中查询所有的电池组信息") |
| | | public Response searchInform(@RequestParam int pageNum,@RequestParam int pageSize,@RequestParam(required = false)String stationName1,@RequestParam(required = false)String stationName2,@RequestParam(required = false)String stationName5,@RequestParam(required = false)String stationName3){ |
| | |
| | | return new Response().set(1, service.searchMaxDevId(devId)); |
| | | } |
| | | |
| | | @GetMapping("setKeyIdWithDeviceId") |
| | | @ApiOperation(value = "keyid绑定设备id", notes = "旧:BattInfAction!getDeviceId") |
| | | public Response setKeyIdWithDeviceId(@RequestParam Integer devId,@RequestParam String keyId) { |
| | | return service.setKeyIdWithDeviceId(devId,keyId); |
| | | } |
| | | |
| | | @PostMapping("updateMonCapWH") |
| | | @ApiModelProperty(value = "标称容量KWH修改", notes = "传入battGroupId和nomCapWH") |
| | | public Response updateMonCapWH(@RequestBody Battinf inf) { |