whyclxw
2022-01-15 fe8fd3c0165d58dfcf3ea61feb09b1b798158bd8
src/main/java/com/whyc/controller/DevParamController.java
@@ -18,20 +18,20 @@
    private DevParamService service;
    @ApiOperation("电池告警参数设置--列表查询")
    @GetMapping("/serchByCondition")
    private Response serchByCondition(@RequestParam int devId,@RequestParam int almId){
    @GetMapping("serchByCondition")
    public Response serchByCondition(@RequestParam int devId,@RequestParam int almId){
        return service.serchByCondition(devId,almId);
    }
    @ApiOperation(value = "电池告警参数设置--列表修改",notes="almHighCoe,almHighEn,almHighLevel,almId,almLowCoe,almLowEn,almLowLevel,devId")
    @PostMapping("/update")
    private Response update(@RequestBody DevParam devParam){
    @PostMapping("update")
    public Response update(@RequestBody DevParam devParam){
        return service.update(devParam);
    }
    @ApiOperation(value = "在线监测-实时监控-查询告警")
    @GetMapping("/serchParamById")
    private Response serchParamById(@RequestParam int devId){
    @GetMapping("serchParamById")
    public Response serchParamById(@RequestParam int devId){
        return service.serchParamById(devId);
    }
}