liusuyi
2025-10-29 48bf6be131fbec59a0ea45d2479fa3f026a65514
ard-work/src/main/resources/mapper/ArdDroneInfoMapper.xml
@@ -10,7 +10,7 @@
        <result property="boxName"    column="box_name"    />
        <result property="boxVersion"    column="box_version"    />
        <result property="startTime"    column="start_time"    />
        <result property="onLine"    column="onLine"    />
        <result property="onLine"    column="on_line"    />
        <result property="videoServer"    column="video_server"    />
        <result property="videoPort"    column="video_port"    />
        <result property="lastTaskId"    column="last_task_id"    />
@@ -196,4 +196,12 @@
        </foreach>
    </insert>
    <update id="updateDroneStatus">
        update ard_drone_info
        <trim prefix="SET" suffixOverrides=",">
            <if test="onLine != null">on_line = #{onLine},</if>
        </trim>
        where server_id = #{serverId}
    </update>
</mapper>