diff --git a/src/main/kotlin/kr/co/vividnext/sodalive/content/AudioContentRepository.kt b/src/main/kotlin/kr/co/vividnext/sodalive/content/AudioContentRepository.kt index ee349c7..3b9eb84 100644 --- a/src/main/kotlin/kr/co/vividnext/sodalive/content/AudioContentRepository.kt +++ b/src/main/kotlin/kr/co/vividnext/sodalive/content/AudioContentRepository.kt @@ -484,8 +484,8 @@ class AudioContentQueryRepositoryImpl(private val queryFactory: JPAQueryFactory) .innerJoin(audioContent.theme, audioContentTheme) .where( where - .and(audioContentComment.createdAt.goe(startDate)) - .and(audioContentComment.createdAt.lt(endDate)) + .and(useCan.createdAt.goe(startDate)) + .and(useCan.createdAt.lt(endDate)) ) .groupBy(audioContent.id) .orderBy(useCan.can.add(useCan.rewardCan).sum().desc(), audioContent.createdAt.asc())