Compare commits

..

No commits in common. "20437d56e75f7ddff9d0b26599859012e8e0cf1b" and "f0b412828a91a865c3db9a587d773f0a342f62e5" have entirely different histories.

1 changed files with 11 additions and 3 deletions

View File

@ -76,13 +76,21 @@ class AudioContentMainTabSeriesService(
// 새로운 시리즈
val newSeriesList = recommendSeriesRepository.getNewSeriesList(isAdult = isAdult)
val (completedRankStartDate, completedRankEndDate) = calculateStartAndEndDate()
// 완결 시리즈 월간 랭킹
val monthlyRankingStartDate = currentDateTime
.withDayOfMonth(1)
.withHour(15)
.withMinute(0)
.withSecond(0)
.minusDays(1)
val monthlyRankingEndDate = monthlyRankingStartDate
.plusMonths(1)
val rankCompleteSeriesList = rankingService.getCompleteSeriesRanking(
memberId = memberId,
isAdult = isAdult,
startDate = completedRankStartDate,
endDate = completedRankEndDate
startDate = monthlyRankingStartDate,
endDate = monthlyRankingEndDate
)
val startDate = currentDateTime