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