콘텐츠 메인 콘텐츠 랭킹 데이터 - group by 추가

This commit is contained in:
Klaus 2023-10-15 01:03:20 +09:00
parent e507af8d5b
commit f889ae5232
1 changed files with 1 additions and 0 deletions

View File

@ -474,6 +474,7 @@ class AudioContentQueryRepositoryImpl(private val queryFactory: JPAQueryFactory)
.innerJoin(audioContent.member, member)
.innerJoin(audioContent.theme, audioContentTheme)
.where(where)
.groupBy(audioContent.id)
.orderBy(order.can.sum().desc())
.limit(limit)
.fetch()