吉安感知网项目-后端
rain
2026-01-28 bb645b81988365ded95ff660303f47d12d379bad
drone-service/drone-fw/src/main/java/org/sxkj/fw/device/controller/FwDeviceController.java
@@ -113,6 +113,15 @@
   public R submit(@Valid @RequestBody FwDeviceDTO 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));
   }
   /**
    * 设备表 删除