fix 标注结果插入报错的问题
This commit is contained in:
parent
76dca85838
commit
64042c03a4
|
|
@ -249,11 +249,12 @@
|
||||||
abf.file_url AS fileUrl,
|
abf.file_url AS fileUrl,
|
||||||
adfm.create_time AS createTime,
|
adfm.create_time AS createTime,
|
||||||
atap.annotation_status AS fileAnnotationStatus,
|
atap.annotation_status AS fileAnnotationStatus,
|
||||||
atap.annotation_result AS annotationResult
|
atap.annotation_result AS annotationResult,
|
||||||
|
aat.task_id
|
||||||
FROM ai_basic_file abf
|
FROM ai_basic_file abf
|
||||||
LEFT JOIN ai_dataset_file_map adfm ON abf.file_id = adfm.file_id
|
LEFT JOIN ai_dataset_file_map adfm ON abf.file_id = adfm.file_id
|
||||||
LEFT JOIN ai_annotation_task aat ON aat.dataset_id= adfm.dataset_id
|
LEFT JOIN ai_annotation_task aat ON aat.dataset_id= adfm.dataset_id
|
||||||
LEFT JOIN ai_annotation_task_annotator_map atap on atap.task_id = aat.task_id
|
LEFT JOIN ai_annotation_task_annotator_map atap on atap.task_id = aat.task_id and abf.file_id = atap.file_id
|
||||||
where abf.del_flag = '0' and aat.del_flag = '0' and aat.task_id = #{taskId}
|
where abf.del_flag = '0' and aat.del_flag = '0' and aat.task_id = #{taskId}
|
||||||
<if test="fileName != null and fileName != ''">
|
<if test="fileName != null and fileName != ''">
|
||||||
AND abf.file_name like concat('%', #{fileName}, '%')
|
AND abf.file_name like concat('%', #{fileName}, '%')
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue