吉安感知网项目-后端
linwei
2026-02-03 d18ef72c533fe6b18d487bcd9fd333c63ca50f04
drone-service/drone-fw/src/main/java/org/sxkj/fw/record/mapper/FwDroneAlarmRecordMapper.xml
@@ -57,8 +57,8 @@
        <where>
                dar.is_deleted = 0
                and d.is_enabled = 1
            <if test="param2.regionName != null and param2.regionName != ''">
                and (d.final_outbound_area = #{param2.regionName}
            <if test="param2.regionCode != null and param2.regionCode != ''">
                and (d.final_outbound_area_code like CONCAT(#{param2.regionCode}, '%')
                <!-- 或者设备是共享给当前部门的 -->
                <if test="param2.currentDeptId != null and param2.currentDeptId != '' ">
                    or dar.device_id in (
@@ -173,8 +173,8 @@
        WHERE dar.is_deleted = 0
            AND d.is_deleted = 0
            and d.is_enabled = 1
        <if test="regionName != null and regionName != ''">
            and (d.final_outbound_area = #{regionName}
        <if test="regionCode != null and regionCode != ''">
            and (d.final_outbound_area_code like CONCAT(#{regionCode}, '%')
            <!-- 或者设备是共享给当前部门的 -->
            <if test="currentDeptId != null and currentDeptId != '' ">
                or dar.device_id in (