라벨링 툴 pnu 정보 list string으로 수정
This commit is contained in:
@@ -125,31 +125,6 @@ public class TrainingDataReviewJobService {
|
||||
return result;
|
||||
}
|
||||
|
||||
// 라벨러 완료,SKIP 시 호출 -> 미사용
|
||||
@Transactional
|
||||
public void assignRealtime(String assignmentUid) {
|
||||
Tasks task = trainingDataReviewJobCoreService.findAssignmentTask(assignmentUid);
|
||||
Long analUid = task.getAnalUid();
|
||||
|
||||
// pending 계산
|
||||
List<InspectorPendingDto> pendings =
|
||||
trainingDataReviewJobCoreService.findInspectorPendingByRound(analUid);
|
||||
|
||||
if (pendings.isEmpty()) {
|
||||
return;
|
||||
}
|
||||
|
||||
List<String> order = pendings.stream().map(InspectorPendingDto::getInspectorUid).toList();
|
||||
|
||||
trainingDataReviewJobCoreService.lockInspectors(analUid, order);
|
||||
|
||||
trainingDataReviewJobCoreService.assignReviewer(task.getAssignmentUid(), order.getFirst());
|
||||
|
||||
List<Long> geomUids = new ArrayList<>();
|
||||
geomUids.add(task.getInferenceUid());
|
||||
trainingDataReviewJobCoreService.updateGeomUidTestState(geomUids);
|
||||
}
|
||||
|
||||
@Transactional
|
||||
@Scheduled(cron = "0 0 2 * * *")
|
||||
public void exportGeojsonLabelingGeom() {
|
||||
|
||||
Reference in New Issue
Block a user