From 8d9ca928eb3176abea09630de48e3759abd628bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B6=8C=EC=98=88=EC=A7=84?= <96688810+kwonyj1022@users.noreply.github.com> Date: Mon, 1 Jan 2024 20:56:50 +0900 Subject: [PATCH] =?UTF-8?q?refactor:=20#749=20=EC=A7=91=EA=B3=84=20?= =?UTF-8?q?=ED=95=A8=EC=88=98=20=EC=BF=BC=EB=A6=AC=20=EC=B5=9C=EC=A0=81?= =?UTF-8?q?=ED=99=94=20(#761)?= 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();