콘텐츠 메인 - 채널별 인기 콘텐츠
- 판매개수 순위 Top2 -> Top4로 변경
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
||||
|
@@ -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(
|
||||
|
Reference in New Issue
Block a user