라이브 방 정보 - 방 나가기 로직 수정

This commit is contained in:
Klaus 2023-08-01 06:14:53 +09:00
parent 3c09047371
commit 018a4a95a2
1 changed files with 1 additions and 0 deletions

View File

@ -112,6 +112,7 @@ class LiveRoomQueryRepositoryImpl(private val queryFactory: JPAQueryFactory) : L
override fun getLiveRoom(id: Long): LiveRoom? {
return queryFactory
.selectFrom(liveRoom)
.innerJoin(liveRoom.member, member)
.where(
liveRoom.id.eq(id)
.and(liveRoom.isActive.isTrue)