From e90d0fe42b652c9230c5e544d177dbedb3e57580 Mon Sep 17 00:00:00 2001
From: zhaowenyu <35589726@qq.com>
Date: Wed, 19 Nov 2025 13:51:26 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/dev' into dev
---
ard-work/src/main/resources/mapper/ArdFlightTaskMapper.xml | 21 ++++++++++++++++++++-
1 files changed, 20 insertions(+), 1 deletions(-)
diff --git a/ard-work/src/main/resources/mapper/ArdFlightTaskMapper.xml b/ard-work/src/main/resources/mapper/ArdFlightTaskMapper.xml
index cdd7d25..dae11c0 100644
--- a/ard-work/src/main/resources/mapper/ArdFlightTaskMapper.xml
+++ b/ard-work/src/main/resources/mapper/ArdFlightTaskMapper.xml
@@ -93,9 +93,28 @@
</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">
+ <select id="getArdFlightTaskById" resultMap="ArdFlightTaskResult">
SELECT *
FROM ard_flight_task
WHERE task_id = #{taskId}
--
Gitblit v1.9.3