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