라벨링작업 관리 목록조회 수정

This commit is contained in:
2026-01-05 15:01:51 +09:00
parent 7acfd32b49
commit 067862ff12
2 changed files with 36 additions and 41 deletions

View File

@@ -314,18 +314,19 @@ public class LabelWorkRepositoryImpl extends QuerydslRepositorySupport
.fetchOne();
*/
Long total =
queryFactory
.select(mapSheetAnalInferenceEntity.uuid.countDistinct())
.from(mapSheetAnalInferenceEntity)
.innerJoin(mapSheetAnalDataInferenceEntity)
.on(whereSubDataBuilder)
.innerJoin(mapSheetAnalDataInferenceGeomEntity)
.on(whereSubBuilder)
.where(whereBuilder)
.fetchOne();
Long totalCnt =
(long)
queryFactory
.select(memberEntity.userRole, memberEntity.name, memberEntity.userId)
.from(labelingAssignmentEntity)
.innerJoin(memberEntity)
.on(whereSubBuilder)
.where(whereBuilder)
.groupBy(memberEntity.userRole, memberEntity.name, memberEntity.userId)
.fetch()
.size();
return new PageImpl<>(foundContent, pageable, total);
return new PageImpl<>(foundContent, pageable, totalCnt);
}
/**