This commit is contained in:
2026-01-05 15:19:15 +09:00
parent e3aa0abfde
commit 0129dcacc5

View File

@@ -306,14 +306,14 @@ public class LabelWorkRepositoryImpl extends QuerydslRepositorySupport
.fetch(); .fetch();
Long countQuery = Long countQuery =
queryFactory queryFactory
.select(labelingAssignmentEntity.workerUid.countDistinct()) .select(labelingAssignmentEntity.workerUid.countDistinct())
.from(labelingAssignmentEntity) .from(labelingAssignmentEntity)
.innerJoin(memberEntity) .innerJoin(memberEntity)
.on(whereSubBuilder) .on(whereSubBuilder)
.where(whereBuilder) .where(whereBuilder)
//.groupBy(memberEntity.userRole, memberEntity.name, memberEntity.userId) // .groupBy(memberEntity.userRole, memberEntity.name, memberEntity.userId)
.fetchOne(); .fetchOne();
return new PageImpl<>(foundContent, pageable, countQuery); return new PageImpl<>(foundContent, pageable, countQuery);
} }