예약 후 시작하지 않은 라이브 조건 수정 - 채널 이름이 없는 라이브만 취소되도록 수정
This commit is contained in:
parent
f6e9c6d010
commit
75efb564fc
|
@ -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