INSERT INTO ai_annotation_task (dataset_id, task_name, task_uuid, description,
annotation_scene, annotation_type, labels, is_annotation,
annotation_status, project_id, del_flag, create_by, create_time, update_by, update_time)
VALUES (#{datasetId}, #{taskName}, #{taskUuid}, #{taskDesc},
#{annotateScene}, #{annotateType}, #{labels}, #{isStartTeam},
#{annotateTaskStatus}, #{projectId}, #{delFlag}, #{createBy}, #{createTime}, #{updateBy}, #{updateTime})
UPDATE ai_annotation_task
SET dataset_id = #{datasetId},
task_name = #{taskName},
task_uuid = #{taskUuid},
description = #{taskDesc},
annotation_scene = #{annotateScene},
annotation_type = #{annotateType},
labels = #{labels},
is_annotation = #{isStartTeam},
annotation_status = #{annotateTaskStatus},
project_id = #{projectId},
del_flag = #{delFlag},
create_by = #{createBy},
create_time = #{createTime},
update_by = #{updateBy},
update_time = #{updateTime}
WHERE task_id = #{taskId}
UPDATE ai_annotation_task
SET del_flag = '1'
WHERE task_id = #{taskId}