parent
205deea88a
commit
476e4e8eb1
|
@ -55,6 +55,8 @@ class LiveRoomQueryRepositoryImpl(private val queryFactory: JPAQueryFactory) : L
|
|||
.innerJoin(liveRoom.member, member)
|
||||
.leftJoin(quarterLiveRankings).on(liveRoom.id.eq(quarterLiveRankings.roomId))
|
||||
.where(where)
|
||||
.offset(offset)
|
||||
.limit(limit)
|
||||
.orderBy(
|
||||
quarterLiveRankings.totalCan.desc(),
|
||||
quarterLiveRankings.totalParticipants.desc(),
|
||||
|
@ -86,9 +88,9 @@ class LiveRoomQueryRepositoryImpl(private val queryFactory: JPAQueryFactory) : L
|
|||
return queryFactory
|
||||
.selectFrom(liveRoom)
|
||||
.innerJoin(liveRoom.member, member)
|
||||
.where(where)
|
||||
.offset(offset)
|
||||
.limit(limit)
|
||||
.where(where)
|
||||
.orderBy(liveRoom.beginDateTime.asc())
|
||||
.fetch()
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue