test #63

Merged
klaus merged 12 commits from test into main 2023-11-02 12:18:30 +00:00
1 changed files with 2 additions and 2 deletions
Showing only changes of commit dad31fffcb - Show all commits

View File

@ -484,8 +484,8 @@ class AudioContentQueryRepositoryImpl(private val queryFactory: JPAQueryFactory)
.innerJoin(audioContent.theme, audioContentTheme) .innerJoin(audioContent.theme, audioContentTheme)
.where( .where(
where where
.and(audioContentComment.createdAt.goe(startDate)) .and(useCan.createdAt.goe(startDate))
.and(audioContentComment.createdAt.lt(endDate)) .and(useCan.createdAt.lt(endDate))
) )
.groupBy(audioContent.id) .groupBy(audioContent.id)
.orderBy(useCan.can.add(useCan.rewardCan).sum().desc(), audioContent.createdAt.asc()) .orderBy(useCan.can.add(useCan.rewardCan).sum().desc(), audioContent.createdAt.asc())