| | |
| | | @ApiOperationSupport(order = 4) |
| | | @ApiOperation(value = "新增或修改", notes = "传入fwDevice") |
| | | public R submit(@Valid @RequestBody FwDeviceDTO fwDevice) { |
| | | return R.status(fwDeviceService.saveOrUpdate(FwDeviceWrapper.build().entityDTO(fwDevice))); |
| | | return R.status(fwDeviceService.saveOrUpdateDevice(FwDeviceWrapper.build().entityDTO(fwDevice))); |
| | | } |
| | | /** |
| | | * 设备表 新增或修改 |
| | | */ |
| | | @PostMapping("/updateTrackStatus") |
| | | @ApiOperationSupport(order = 4) |
| | | @ApiOperation(value = "修改设备出入库状态", notes = "传入fwDevice") |
| | | public R updateTrackStatus(@ApiParam(value = "", required = true) @RequestParam Long deviceId) { |
| | | return R.status(fwDeviceService.updateTrackStatusByDeviceId(deviceId,0)); |
| | | } |
| | | |
| | | /** |