enhance
This commit is contained in:
parent
f331fe1dc6
commit
807115d370
|
|
@ -53,7 +53,9 @@ public class DataSetEntity extends BaseEntity {
|
||||||
/**数据集关联的文件id*/
|
/**数据集关联的文件id*/
|
||||||
private Long[] fileIds;
|
private Long[] fileIds;
|
||||||
|
|
||||||
|
/**查询使用*/
|
||||||
private Integer annotatedCount;
|
private Integer annotatedCount;
|
||||||
|
|
||||||
private Integer notAnnotatedCount;
|
private Integer notAnnotatedCount;
|
||||||
|
private String latestVersionName;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -30,11 +30,12 @@
|
||||||
left join ai_annotation_task aat on aat.task_id = atv.task_id
|
left join ai_annotation_task aat on aat.task_id = atv.task_id
|
||||||
left join ai_dataset ad on ad.dataset_id = atv.dataset_id
|
left join ai_dataset ad on ad.dataset_id = atv.dataset_id
|
||||||
left join ai_annotation_task_annotator_map ap on atv.task_id = ap.task_id
|
left join ai_annotation_task_annotator_map ap on atv.task_id = ap.task_id
|
||||||
where atv.del_flag = '0' and ap.annotation_status IN ('0', '1', '2','3')
|
where atv.del_flag = '0' and ap.annotation_status IN ('0', '1', '2','3') and atv.dataset_id = #{datasetId}
|
||||||
<if test="versionName != null and versionName != ''">
|
<if test="versionName != null and versionName != ''">
|
||||||
AND version_name LIKE CONCAT('%', #{versionName}, '%')
|
AND version_name LIKE CONCAT('%', #{versionName}, '%')
|
||||||
</if>
|
</if>
|
||||||
GROUP BY ap.task_id
|
GROUP BY ap.task_id, atv.create_time
|
||||||
ORDER BY create_time DESC
|
ORDER BY atv.create_time DESC
|
||||||
|
|
||||||
</select>
|
</select>
|
||||||
</mapper>
|
</mapper>
|
||||||
Loading…
Reference in New Issue