test #332
| @@ -394,7 +394,7 @@ class LiveRoomQueryRepositoryImpl( | |||||||
|                     member.nickname, |                     member.nickname, | ||||||
|                     member.profileImage.prepend("/").prepend(cloudFrontHost), |                     member.profileImage.prepend("/").prepend(cloudFrontHost), | ||||||
|                     liveRoom.title, |                     liveRoom.title, | ||||||
|                     liveRoom.updatedAt.max() |                     liveRoom.updatedAt | ||||||
|                 ) |                 ) | ||||||
|             ) |             ) | ||||||
|             .from(liveRoom) |             .from(liveRoom) | ||||||
| @@ -404,12 +404,14 @@ class LiveRoomQueryRepositoryImpl( | |||||||
|                     .eq( |                     .eq( | ||||||
|                         JPAExpressions.select(subLiveRoom.updatedAt.max()) |                         JPAExpressions.select(subLiveRoom.updatedAt.max()) | ||||||
|                             .from(subLiveRoom) |                             .from(subLiveRoom) | ||||||
|                             .where(subLiveRoom.member.eq(liveRoom.member)) |                             .where( | ||||||
|  |                                 subLiveRoom.member.eq(liveRoom.member) | ||||||
|  |                                     .and(subLiveRoom.isActive.isFalse) | ||||||
|  |                                     .and(subLiveRoom.channelName.isNotNull) | ||||||
|                             ) |                             ) | ||||||
|                     .and(liveRoom.isActive.isFalse) |  | ||||||
|                     .and(liveRoom.channelName.isNotNull) |  | ||||||
|                     ) |                     ) | ||||||
|             .orderBy(liveRoom.updatedAt.max().desc()) |             ) | ||||||
|  |             .orderBy(liveRoom.updatedAt.desc()) | ||||||
|             .offset(offset) |             .offset(offset) | ||||||
|             .limit(20) |             .limit(20) | ||||||
|             .fetch() |             .fetch() | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user