| | |
| | | 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); |
| | | } |
| | | |
| | | } |