From ad2e8ec52936adfc074ccef25ea1b5b5c72eac90 Mon Sep 17 00:00:00 2001 From: kwonyj1022 Date: Tue, 28 Nov 2023 09:18:36 +0900 Subject: [PATCH] =?UTF-8?q?refactor:=20=EC=A7=91=EA=B3=84=20=ED=95=A8?= =?UTF-8?q?=EC=88=98=20=EC=BF=BC=EB=A6=AC=20=EC=B5=9C=EC=A0=81=ED=99=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../QuerydslChatRoomAndMessageAndImageRepository.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/backend/ddang/src/main/java/com/ddang/ddang/chat/infrastructure/persistence/QuerydslChatRoomAndMessageAndImageRepository.java b/backend/ddang/src/main/java/com/ddang/ddang/chat/infrastructure/persistence/QuerydslChatRoomAndMessageAndImageRepository.java index 35b342770..10a720230 100644 --- a/backend/ddang/src/main/java/com/ddang/ddang/chat/infrastructure/persistence/QuerydslChatRoomAndMessageAndImageRepository.java +++ b/backend/ddang/src/main/java/com/ddang/ddang/chat/infrastructure/persistence/QuerydslChatRoomAndMessageAndImageRepository.java @@ -44,7 +44,6 @@ public List findAllChatRoomInfoByUserIdOrderByLas .select(auctionImage.id.min()) .from(auctionImage) .where(auctionImage.auction.id.eq(auction.id)) - .groupBy(auctionImage.auction.id) )).fetchJoin() .join(auction.lastBid).fetchJoin() .leftJoin(message).on(message.id.eq( @@ -52,7 +51,6 @@ public List findAllChatRoomInfoByUserIdOrderByLas .select(message.id.max()) .from(message) .where(message.chatRoom.id.eq(chatRoom.id)) - .groupBy(message.chatRoom.id) )).fetchJoin() .where(isSellerOrWinner(userId)) .fetch();