吉安感知网项目-后端
linwei
2026-07-16 c011ced04d1ea294b59a1b3515f25b78d85e98b0
fix(device): 移除设备查询中的轨迹状态过滤条件

- 移除了 FwDeviceMapper.xml 中的 track_status = 1 过滤条件
- 保留了其他设备查询逻辑和软删除过滤
- 修改后的查询将返回所有非删除状态的设备记录
1 files modified
1 ■■■■ changed files
drone-service/drone-fw/src/main/java/org/sxkj/fw/device/mapper/FwDeviceMapper.xml 1 ●●●● patch | view | raw | blame | history
drone-service/drone-fw/src/main/java/org/sxkj/fw/device/mapper/FwDeviceMapper.xml
@@ -47,7 +47,6 @@
        ja_fw_device
        <where>
            is_deleted = 0
            and track_status = 1
            <if test="param2.id != null and param2.id != ''">
                and id::text = #{param2.id}::text
            </if>