lxw
2023-05-25 f3c27fb78447449a950ba73c5e72ceda64ad8a12
src/main/java/com/whyc/controller/PowerInfController.java
@@ -183,5 +183,22 @@
        return service.getPowerInfoById(powerDeviceId);
    }*/
    @ApiOperation(value = "填写异常原因",notes = "传入字段 num,exceptionCause,exceptionCauseAnalysis")
    @PutMapping("exceptionCause")
    public Response updateExceptionCause(@RequestBody PowerInf powerInf){
        return service.updateExceptionCause(powerInf);
    }
    @ApiOperation(value = "取消异常原因",notes = "传入字段 num")
    @PutMapping("cancelExceptionCause")
    public Response updateCancelExceptionCause(@RequestParam int num){
        return service.updateCancelExceptionCause(num);
    }
    @ApiOperation(value = "查询异常原因",notes = "传入字段 num")
    @GetMapping("exceptionCause")
    public Response getExceptionCause(@RequestParam int num){
        return service.getExceptionCause(num);
    }
}