insert into video(id, scenic_id, template_id, task_id, worker_id, video_url, height, width, duration) values (#{id}, #{scenicId}, #{templateId}, #{taskId}, #{workerId}, #{videoUrl}, #{height}, #{width}, #{duration}) replace member_video(member_id, scenic_id, face_id, template_id, task_id, video_id, is_buy, order_id) values (#{memberId}, #{scenicId}, #{faceId}, #{templateId}, #{taskId}, #{videoId}, #{isBuy}, #{orderId}) replace member_video(member_id, scenic_id, face_id, template_id, task_id, video_id, is_buy, order_id) values (#{item.memberId}, #{item.scenicId}, #{item.faceId}, #{item.templateId}, #{item.taskId}, #{item.videoId}, #{item.isBuy}, #{orderId}) update video scenic_id = #{scenicId}, template_id = #{templateId}, task_id = #{taskId}, worker_id = #{workerId}, video_url = #{videoUrl}, height = #{height}, width = #{width}, duration = #{duration}, where id = #{id} update video set height = #{height}, width = #{width}, duration = #{duration} where id = #{id} update member_video is_buy = #{isBuy}, order_id = #{orderId}, where member_id = #{memberId} and video_id = #{videoId} update member_video set video_id = #{videoId}, is_buy = #{isBuy} where task_id = #{taskId} delete from video where id = #{id}