콘텐츠 메인 - 채널별 인기 콘텐츠

- 판매개수 순위 Top2 -> Top4로 변경
This commit is contained in:
2025-02-17 12:07:21 +09:00
parent 239516b98b
commit dc0902c555
7 changed files with 12 additions and 23 deletions

View File

@@ -429,7 +429,7 @@ class RankingRepository(
.fetch()
}
fun fetchCreatorContentBySalesCountTop2(
fun fetchCreatorContentBySalesCountTop4(
creatorId: Long,
isAdult: Boolean,
theme: String
@@ -473,7 +473,7 @@ class RankingRepository(
.groupBy(audioContent.id)
.orderBy(order.id.count().desc())
.offset(0)
.limit(2)
.limit(4)
.fetch()
}

View File

@@ -197,12 +197,12 @@ class RankingService(
return repository.fetchCreatorContentBySalesTop2(creatorId, isAdult, theme)
}
fun fetchCreatorContentBySalesCountTop2(
fun fetchCreatorContentBySalesCountTop4(
creatorId: Long,
isAdult: Boolean,
theme: String = ""
): List<GetAudioContentRankingItem> {
return repository.fetchCreatorContentBySalesCountTop2(creatorId, isAdult, theme)
return repository.fetchCreatorContentBySalesCountTop4(creatorId, isAdult, theme)
}
fun fetchCreatorBySeriesRevenueRankTop20(