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 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(
|
val rankCompleteSeriesList = rankingService.getCompleteSeriesRanking(
|
||||||
memberId = memberId,
|
memberId = memberId,
|
||||||
isAdult = isAdult,
|
isAdult = isAdult,
|
||||||
startDate = monthlyRankingStartDate,
|
startDate = completedRankStartDate,
|
||||||
endDate = monthlyRankingEndDate
|
endDate = completedRankEndDate
|
||||||
)
|
)
|
||||||
|
|
||||||
val startDate = currentDateTime
|
val startDate = currentDateTime
|
||||||
|
|
Loading…
Reference in New Issue