From 36ad57c93297361693b527aa7d63c756f267bbde Mon Sep 17 00:00:00 2001
From: rain <1679827795@qq.com>
Date: Mon, 12 Jan 2026 13:50:33 +0800
Subject: [PATCH] 侦测反制-侦测范围管理

---
 drone-service/drone-fw/src/main/java/org/sxkj/fw/device/mapper/FwDeviceMapper.xml |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/drone-service/drone-fw/src/main/java/org/sxkj/fw/device/mapper/FwDeviceMapper.xml b/drone-service/drone-fw/src/main/java/org/sxkj/fw/device/mapper/FwDeviceMapper.xml
index 40f3ffc..38c1888 100644
--- a/drone-service/drone-fw/src/main/java/org/sxkj/fw/device/mapper/FwDeviceMapper.xml
+++ b/drone-service/drone-fw/src/main/java/org/sxkj/fw/device/mapper/FwDeviceMapper.xml
@@ -53,6 +53,12 @@
             <if test="param2.deviceSpecification != null and param2.deviceSpecification != ''">
                 and device_specification = #{param2.deviceSpecification}
             </if>
+            <if test="param2.effectiveRangeKmIsNotNull != null and param2.effectiveRangeKmIsNotNull == 1">
+                and effective_range_km is not null
+            </if>
+            <if test="param2.effectiveRangeKmIsNotNull != null and param2.effectiveRangeKmIsNotNull == 2">
+                and effective_range_km is null
+            </if>
             <if test="param2.manufacturer != null and param2.manufacturer != ''">
                 and manufacturer = #{param2.manufacturer}
             </if>

--
Gitblit v1.9.3