| | |
| | | </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"> |