라벨링 가능 건수 조건 수정 #46
@@ -549,7 +549,12 @@ public class LabelWorkRepositoryImpl implements LabelWorkRepositoryCustom {
|
||||
@Override
|
||||
public LabelWorkMngDetail findLabelWorkMngDetail(UUID uuid) {
|
||||
|
||||
NumberExpression<Long> labelTotCnt = mapSheetAnalDataInferenceGeomEntity.geoUid.count();
|
||||
NumberExpression<Long> labelTotCnt =
|
||||
new CaseBuilder()
|
||||
.when(mapSheetAnalDataInferenceGeomEntity.pnu.isNotNull())
|
||||
.then(1L)
|
||||
.otherwise(0L)
|
||||
.sum();
|
||||
NumberExpression<Long> labelerCnt = labelingAssignmentEntity.workerUid.count();
|
||||
NumberExpression<Long> reviewerCnt = labelingAssignmentEntity.inspectorUid.count();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user