修改返回数据集最新的版本信息
This commit is contained in:
parent
b2facc0436
commit
3ca4a8c972
|
|
@ -90,7 +90,7 @@
|
|||
LEFT JOIN ai_annotation_task_annotator_map ap on at.task_id = ap.task_id
|
||||
LEFT JOIN ai_dataset ad on ad.dataset_id = at.dataset_id
|
||||
LEFT JOIN sys_user su on su.user_id = at.create_by
|
||||
WHERE at.del_flag = '0' and ap.annotation_status IN ('0', '1', '2','3')
|
||||
WHERE at.del_flag = '0' and ap.del_flag = '0' and ap.annotation_status IN ('0', '1', '2','3')
|
||||
<if test="taskName != null and taskName != ''">
|
||||
AND at.task_name LIKE CONCAT('%', #{taskName}, '%')
|
||||
</if>
|
||||
|
|
@ -245,7 +245,7 @@
|
|||
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 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 atap.del_flag = '0' and aat.task_id = #{taskId}
|
||||
<if test="fileName != null and fileName != ''">
|
||||
AND abf.file_name like concat('%', #{fileName}, '%')
|
||||
</if>
|
||||
|
|
@ -316,7 +316,7 @@
|
|||
SELECT distinct at.task_id AS taskId, at.task_name AS taskName, at.labels as labels
|
||||
FROM ai_annotation_task at
|
||||
LEFT JOIN ai_annotation_task_annotator_map ap on at.task_id = ap.task_id
|
||||
WHERE at.del_flag = '0' and ap.annotator_id = #{annotatorId}
|
||||
WHERE at.del_flag = '0' and ap.del_flag = '0' and ap.annotator_id = #{annotatorId}
|
||||
</select>
|
||||
|
||||
<!-- and ap.annotation_status IN ('0','1')-->
|
||||
|
|
@ -324,7 +324,7 @@
|
|||
SELECT distinct at.task_id AS taskId , at.task_name AS taskName, at.labels as labels
|
||||
FROM ai_annotation_task at
|
||||
LEFT JOIN ai_annotation_task_annotator_map ap on at.task_id = ap.task_id
|
||||
WHERE at.del_flag = '0' and ap.reviewer_id = #{reviewerId}
|
||||
WHERE at.del_flag = '0' and ap.del_flag = '0' and ap.reviewer_id = #{reviewerId}
|
||||
</select>
|
||||
|
||||
<select id="selectAnnotationDetailByTaskFile"
|
||||
|
|
|
|||
Loading…
Reference in New Issue