吉安感知网项目-后端
xiebin
2026-02-26 6b41a765938095f4a1c71203de11ab3bfd93224e
drone-service/drone-gd/src/main/java/org/sxkj/gd/workorder/mapper/GdDeviceCallMapper.xml
@@ -25,7 +25,19 @@
    <select id="selectGdDeviceCallPage" resultMap="gdDeviceCallResultMap">
        select * from ja_gd_device_call where is_deleted = 0
        select * from ja_gd_device_call
        <where>
            is_deleted = 0
            <if test="param2.patrolTaskName != null and param2.patrolTaskName != ''">
                and patrol_task_name like concat('%',#{param2.patrolTaskName},'%')
            </if>
            <if test="param2.deviceId != null and param2.deviceId != ''">
                and device_id = #{param2.deviceId}
            </if>
            <if test="param2.taskInitiatorId != null and param2.taskInitiatorId != ''">
                and task_initiator_id = #{param2.taskInitiatorId}
            </if>
        </where>
    </select>