吉安感知网项目-后端
linwei
2 days ago 51a551a7f8eae7654f973d45cd2fa2952774673d
drone-service/drone-fw/src/main/java/org/sxkj/fw/device/mapper/FwDeviceMapper.xml
@@ -47,7 +47,9 @@
        ja_fw_device
        <where>
            is_deleted = 0
            and track_status = 1
            <if test="param2.trackStatus != null ">
                and track_status::text = #{param2.trackStatus}::text
            </if>
            <if test="param2.id != null and param2.id != ''">
                and id::text = #{param2.id}::text
            </if>
@@ -407,7 +409,7 @@
            ja_fw_device d
        WHERE
            d.is_deleted = 0
            AND d.is_enabled = 1
            AND d.track_status = 1
            AND d.final_outbound_area IS NOT NULL
        <if test="effectiveRangeKmIsNotNull != null and effectiveRangeKmIsNotNull == 2">
            and (d.effective_range_km is null or d.effective_range_km = 0)