test #260

Merged
klaus merged 6 commits from test into main 2025-02-18 18:13:26 +00:00
3 changed files with 2 additions and 7 deletions
Showing only changes of commit 872ec7f13f - Show all commits

View File

@ -86,7 +86,7 @@ class AudioContentMainTabContentService(
val contentRankCreatorList = rankingService.fetchCreatorBySellContentCountRankTop20(
memberId = member.id!!,
startDate = dailyRankingStartDate.minusDays(1),
startDate = dailyRankingStartDate,
endDate = dailyRankingEndDate
)

View File

@ -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),

View File

@ -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))