Merge pull request '라벨링 가능 건수 조건 수정' (#46) from feat/infer_dev_260107 into develop

Reviewed-on: #46
This commit was merged in pull request #46.
This commit is contained in:
2026-02-05 13:49:44 +09:00

View File

@@ -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();