From 752807492ddc87e25fa3852b766c28d5c35b8258 Mon Sep 17 00:00:00 2001
From: xiebin <vip_xiaobin810@163.com>
Date: Mon, 12 Jan 2026 16:28:58 +0800
Subject: [PATCH] update-反无大屏-基础管理-设备相关
---
drone-service/drone-fw/src/main/java/org/sxkj/fw/device/controller/FwDeviceTrackController.java | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/drone-service/drone-fw/src/main/java/org/sxkj/fw/device/controller/FwDeviceTrackController.java b/drone-service/drone-fw/src/main/java/org/sxkj/fw/device/controller/FwDeviceTrackController.java
index 9f95acd..247d094 100644
--- a/drone-service/drone-fw/src/main/java/org/sxkj/fw/device/controller/FwDeviceTrackController.java
+++ b/drone-service/drone-fw/src/main/java/org/sxkj/fw/device/controller/FwDeviceTrackController.java
@@ -33,8 +33,8 @@
import org.springblade.core.tool.utils.DateUtil;
import org.springblade.core.tool.utils.Func;
import org.springframework.web.bind.annotation.*;
-import org.sxkj.common.model.GenericConverter;
-import org.sxkj.common.param.DetailParam;
+import org.sxkj.fw.device.param.GenericConverter;
+import org.sxkj.fw.device.param.DetailParam;
import org.sxkj.fw.device.dto.FwDeviceTrackDTO;
import org.sxkj.fw.device.entity.FwDeviceTrackEntity;
import org.sxkj.fw.device.excel.FwDeviceTrackExcel;
@@ -98,7 +98,7 @@
@ApiOperation(value = "新增或修改", notes = "传入fwDeviceTrack")
public R submit(@Valid @RequestBody FwDeviceTrackDTO fwDeviceTrack) {
- if (null != fwDeviceTrack.getDeviceId()) {
+ if (null == fwDeviceTrack.getDeviceId()) {
return R.fail("设备ID不能为空");
}
--
Gitblit v1.9.3