작업현황리스트 수정

This commit is contained in:
Moon
2026-01-05 15:16:09 +09:00
parent 7acfd32b49
commit ed075e47bd

View File

@@ -305,27 +305,17 @@ public class LabelWorkRepositoryImpl extends QuerydslRepositorySupport
.limit(pageable.getPageSize()) .limit(pageable.getPageSize())
.fetch(); .fetch();
/*
Long countQuery = Long countQuery =
queryFactory queryFactory
.select(labelingAssignmentEntity.workerUid.count()) .select(labelingAssignmentEntity.workerUid.countDistinct())
.from(labelingAssignmentEntity) .from(labelingAssignmentEntity)
.innerJoin(memberEntity)
.on(whereSubBuilder)
.where(whereBuilder) .where(whereBuilder)
//.groupBy(memberEntity.userRole, memberEntity.name, memberEntity.userId)
.fetchOne(); .fetchOne();
*/
Long total = return new PageImpl<>(foundContent, pageable, countQuery);
queryFactory
.select(mapSheetAnalInferenceEntity.uuid.countDistinct())
.from(mapSheetAnalInferenceEntity)
.innerJoin(mapSheetAnalDataInferenceEntity)
.on(whereSubDataBuilder)
.innerJoin(mapSheetAnalDataInferenceGeomEntity)
.on(whereSubBuilder)
.where(whereBuilder)
.fetchOne();
return new PageImpl<>(foundContent, pageable, total);
} }
/** /**