| | |
| | | return R.data(list); |
| | | } |
| | | |
| | | /** |
| | | * 修改 |
| | | */ |
| | | @PostMapping("/updateexpireTime") |
| | | @ApiOperationSupport(order = 5) |
| | | @ApiOperation(value = "修改", notes = "传入equipment") |
| | | public R updateexpireTime(String expireTime,String deviceNumber) { |
| | | equipmentService.updateexpireTime(expireTime,deviceNumber); |
| | | return R.success("修改成功"); |
| | | } |
| | | |
| | | /** |
| | | * 设备故障修改 |
| | | */ |
| | | @PostMapping("/updateExstate") |
| | | @ApiOperationSupport(order = 5) |
| | | @ApiOperation(value = "修改", notes = "传入equipment") |
| | | public R updateExstate(String state,String reason, String deviceNumber) { |
| | | equipmentService.updateExstate(state,reason,deviceNumber); |
| | | return R.success("修改成功"); |
| | | } |
| | | |
| | | } |