修复 获取未审核任务列表时包含labels
This commit is contained in:
parent
27ec62a3c0
commit
32ff8f2014
|
|
@ -321,18 +321,20 @@
|
|||
<!-- GROUP BY annotation_status-->
|
||||
<!-- </select>-->
|
||||
|
||||
<!-- and ap.annotation_status IN ('0')-->
|
||||
<select id="getMyNoAnnotationTask" parameterType="Long" resultType="com.bonus.ai.domain.dataset.AnnotationTaskEntity">
|
||||
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.annotation_status IN ('0') and ap.annotator_id = #{annotatorId}
|
||||
WHERE at.del_flag = '0' and ap.annotator_id = #{annotatorId}
|
||||
</select>
|
||||
|
||||
<!-- and ap.annotation_status IN ('0','1')-->
|
||||
<select id="getMyNoAuditTask" resultType="com.bonus.ai.domain.dataset.AnnotationTaskEntity">
|
||||
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.annotation_status IN ('0','1') and ap.reviewer_id = #{reviewerId}
|
||||
WHERE at.del_flag = '0' and ap.reviewer_id = #{reviewerId}
|
||||
</select>
|
||||
|
||||
<select id="selectAnnotationDetailByTaskFile"
|
||||
|
|
|
|||
Loading…
Reference in New Issue