라이브 방 정보 - 방 나가기 로직 수정
This commit is contained in:
parent
3c09047371
commit
018a4a95a2
|
@ -112,6 +112,7 @@ class LiveRoomQueryRepositoryImpl(private val queryFactory: JPAQueryFactory) : L
|
||||||
override fun getLiveRoom(id: Long): LiveRoom? {
|
override fun getLiveRoom(id: Long): LiveRoom? {
|
||||||
return queryFactory
|
return queryFactory
|
||||||
.selectFrom(liveRoom)
|
.selectFrom(liveRoom)
|
||||||
|
.innerJoin(liveRoom.member, member)
|
||||||
.where(
|
.where(
|
||||||
liveRoom.id.eq(id)
|
liveRoom.id.eq(id)
|
||||||
.and(liveRoom.isActive.isTrue)
|
.and(liveRoom.isActive.isTrue)
|
||||||
|
|
Loading…
Reference in New Issue