whyclxw
2025-05-28 e16302f9d475c7cc4dd18c5abf1a23cb5502e362
src/main/java/com/whyc/controller/BattInfController.java
@@ -284,6 +284,12 @@
        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) {