parent
7041aff350
commit
872ec7f13f
|
@ -86,7 +86,7 @@ class AudioContentMainTabContentService(
|
|||
|
||||
val contentRankCreatorList = rankingService.fetchCreatorBySellContentCountRankTop20(
|
||||
memberId = member.id!!,
|
||||
startDate = dailyRankingStartDate.minusDays(1),
|
||||
startDate = dailyRankingStartDate,
|
||||
endDate = dailyRankingEndDate
|
||||
)
|
||||
|
||||
|
|
|
@ -72,11 +72,6 @@ class AudioContentMainTabHomeService(
|
|||
// 이벤트 배너
|
||||
val eventBannerList = eventService.getEventList(isAdult = member.auth != null)
|
||||
|
||||
/* 채널별 인기 콘텐츠
|
||||
* - 콘텐츠를 4개 이상 등록한 채널
|
||||
* - 주간 콘텐츠 판매 개수 Top 20 채널
|
||||
* - 해당 채널의 누적 판매 개수 Top 4
|
||||
*/
|
||||
val contentRankCreatorList = rankingService.fetchCreatorBySellContentCountRankTop20(
|
||||
memberId = member.id!!,
|
||||
startDate = startDate.minusDays(1),
|
||||
|
|
|
@ -340,7 +340,7 @@ class RankingRepository(
|
|||
val ordersCondition = order.audioContent.id.eq(audioContent.id)
|
||||
.and(order.isActive.isTrue)
|
||||
.and(order.createdAt.goe(startDate))
|
||||
.and(order.createdAt.lt(startDate))
|
||||
.and(order.createdAt.lt(endDate))
|
||||
|
||||
val memberCondition = member.isActive.isTrue
|
||||
.and(member.role.eq(MemberRole.CREATOR))
|
||||
|
|
Loading…
Reference in New Issue