test #39
|
@ -43,8 +43,8 @@ class AdminLiveRoomQueryRepository(private val queryFactory: JPAQueryFactory) {
|
|||
.selectFrom(liveRoom)
|
||||
.where(
|
||||
liveRoom.isActive.isTrue
|
||||
.and(liveRoom.channelName.isNotNull)
|
||||
.and(liveRoom.beginDateTime.loe(LocalDateTime.now().minusHours(12)))
|
||||
.and(liveRoom.channelName.isNull)
|
||||
.and(liveRoom.beginDateTime.loe(LocalDateTime.now().minusHours(4)))
|
||||
)
|
||||
.fetch()
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue