From 23b1e3ac371e71536252415f777188607c291cf2 Mon Sep 17 00:00:00 2001
From: liusuyi <1951119284@qq.com>
Date: Tue, 18 Nov 2025 17:13:53 +0800
Subject: [PATCH] 增量媒体库

---
 ard-work/src/main/resources/mapper/ArdFlightTaskMapper.xml |   19 +++++++++++++++++++
 1 files changed, 19 insertions(+), 0 deletions(-)

diff --git a/ard-work/src/main/resources/mapper/ArdFlightTaskMapper.xml b/ard-work/src/main/resources/mapper/ArdFlightTaskMapper.xml
index cdd7d25..3f6c0ae 100644
--- a/ard-work/src/main/resources/mapper/ArdFlightTaskMapper.xml
+++ b/ard-work/src/main/resources/mapper/ArdFlightTaskMapper.xml
@@ -93,6 +93,25 @@
         </trim>
     </insert>
 
+    <update id="updateArdFlightTask" parameterType="com.ard.work.domain.entity.ArdFlightTask">
+        update ard_flight_task
+        <set>
+            <if test="taskId != null">task_id = #{taskId},</if>
+            <if test="boxSn != null">box_sn = #{boxSn},</if>
+            <if test="boxName != null">box_name = #{boxName},</if>
+            <if test="taskName != null">task_name = #{taskName},</if>
+            <if test="videoCount != null">video_count = #{videoCount},</if>
+            <if test="photoCount != null">photo_count = #{photoCount},</if>
+            <if test="videoPath != null">video_path = #{videoPath},</if>
+            <if test="startTime != null">start_time = #{startTime},</if>
+            <if test="endTime != null">end_time = #{endTime},</if>
+            <if test="serverId != null">server_id = #{serverId},</if>
+            <if test="updateBy != null">update_by = #{updateBy},</if>
+            <if test="updateTime != null">update_time = #{updateTime},</if>
+            <if test="remark != null">remark = #{remark},</if>
+        </set>
+        where task_id = #{taskId}
+    </update>
 
     <!-- 根据任务ID获取飞行任务 -->
     <select id="getArdFlightTaskById" resultType="ArdFlightTask">

--
Gitblit v1.9.3