From 64042c03a464c692bb6041bff824c2efdecb826a Mon Sep 17 00:00:00 2001 From: weiweiw <14335254+weiweiw22@user.noreply.gitee.com> Date: Fri, 29 Nov 2024 18:21:55 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E6=A0=87=E6=B3=A8=E7=BB=93=E6=9E=9C?= =?UTF-8?q?=E6=8F=92=E5=85=A5=E6=8A=A5=E9=94=99=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/mapper/AnnotationTaskMapper.xml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bonus-modules/bonus-ai/src/main/resources/mapper/AnnotationTaskMapper.xml b/bonus-modules/bonus-ai/src/main/resources/mapper/AnnotationTaskMapper.xml index 4fa1b68..dc8bc11 100644 --- a/bonus-modules/bonus-ai/src/main/resources/mapper/AnnotationTaskMapper.xml +++ b/bonus-modules/bonus-ai/src/main/resources/mapper/AnnotationTaskMapper.xml @@ -249,11 +249,12 @@ abf.file_url AS fileUrl, adfm.create_time AS createTime, atap.annotation_status AS fileAnnotationStatus, - atap.annotation_result AS annotationResult + atap.annotation_result AS annotationResult, + aat.task_id FROM ai_basic_file abf 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_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} AND abf.file_name like concat('%', #{fileName}, '%')