Merge pull request '메인 시리즈 탭 - 완결 시리즈' (#269) from test into main
Reviewed-on: #269
This commit is contained in:
commit
20437d56e7
|
@ -76,21 +76,13 @@ class AudioContentMainTabSeriesService(
|
|||
// 새로운 시리즈
|
||||
val newSeriesList = recommendSeriesRepository.getNewSeriesList(isAdult = isAdult)
|
||||
|
||||
// 완결 시리즈 월간 랭킹
|
||||
val monthlyRankingStartDate = currentDateTime
|
||||
.withDayOfMonth(1)
|
||||
.withHour(15)
|
||||
.withMinute(0)
|
||||
.withSecond(0)
|
||||
.minusDays(1)
|
||||
val monthlyRankingEndDate = monthlyRankingStartDate
|
||||
.plusMonths(1)
|
||||
val (completedRankStartDate, completedRankEndDate) = calculateStartAndEndDate()
|
||||
|
||||
val rankCompleteSeriesList = rankingService.getCompleteSeriesRanking(
|
||||
memberId = memberId,
|
||||
isAdult = isAdult,
|
||||
startDate = monthlyRankingStartDate,
|
||||
endDate = monthlyRankingEndDate
|
||||
startDate = completedRankStartDate,
|
||||
endDate = completedRankEndDate
|
||||
)
|
||||
|
||||
val startDate = currentDateTime
|
||||
|
|
Loading…
Reference in New Issue