This commit is contained in:
2026-01-20 14:52:53 +09:00
parent ab39ce5e85
commit 07e4f1b052

View File

@@ -64,8 +64,7 @@ public class LabelAllocateRepositoryImpl implements LabelAllocateRepositoryCusto
private final JPAQueryFactory queryFactory;
@PersistenceContext
private EntityManager em;
@PersistenceContext private EntityManager em;
@Override
public List<AllocateInfoDto> fetchNextIds(Long lastId, Long batchSize, UUID uuid) {
@@ -859,9 +858,7 @@ public class LabelAllocateRepositoryImpl implements LabelAllocateRepositoryCusto
.fetchOne();
}
/**
* 특정 회차의 모든 라벨러 통계 조회 (순위 계산용)
*/
/** 특정 회차의 모든 라벨러 통계 조회 (순위 계산용) */
public List<LabelerDetail> findAllLabelersForRanking(Long analUid) {
QMemberEntity worker = QMemberEntity.memberEntity;
@@ -909,9 +906,7 @@ public class LabelAllocateRepositoryImpl implements LabelAllocateRepositoryCusto
.fetch();
}
/**
* UUID로 analUid 조회
*/
/** UUID로 analUid 조회 */
@Override
public Long findAnalUidByUuid(String uuid) {
return queryFactory
@@ -1383,9 +1378,7 @@ public class LabelAllocateRepositoryImpl implements LabelAllocateRepositoryCusto
.fetchOne();
}
/**
* 순위 계산용 - 특정 회차의 모든 검수자 통계 조회
*/
/** 순위 계산용 - 특정 회차의 모든 검수자 통계 조회 */
public List<LabelerDetail> findAllInspectorsForRanking(Long analUid) {
QMemberEntity inspector = QMemberEntity.memberEntity;
@@ -1809,8 +1802,7 @@ public class LabelAllocateRepositoryImpl implements LabelAllocateRepositoryCusto
return queryFactory
.select(mapSheetAnalInferenceEntity.id.count())
.from(mapSheetAnalInferenceEntity)
.where(
mapSheetAnalInferenceEntity.analState.eq(LabelMngState.ING.getId()))
.where(mapSheetAnalInferenceEntity.analState.eq(LabelMngState.ING.getId()))
.fetchOne();
}
}