test #63
|
@ -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())
|
||||
|
|
Loading…
Reference in New Issue