From 4969075d47b6ee436cf71d01da5ec39c0fd28bc4 Mon Sep 17 00:00:00 2001 From: Namgyu11 <103015031+Namgyu11@users.noreply.github.com> Date: Sun, 22 Sep 2024 20:19:41 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EB=8C=80=EC=83=81=20ID=20=EB=B0=98?= =?UTF-8?q?=ED=99=98=20=EC=98=A4=EB=A5=98=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - AccompanyReviewEntity 조회 시 잘못된 대상 반환 문제를 수정했습니다. - 'r.target'을 'r.target.id'로, 'r.reviewer'를 'r.reviewer.id'로 변경하여 정확한 ID를 반환합니다. Signed-off-by: Namgyu11 <103015031+Namgyu11@users.noreply.github.com> --- .../review/repository/AccompanyReviewRepository.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/connectripbe/connectrip_be/review/repository/AccompanyReviewRepository.java b/src/main/java/connectripbe/connectrip_be/review/repository/AccompanyReviewRepository.java index f1d2d575..9cab0e60 100644 --- a/src/main/java/connectripbe/connectrip_be/review/repository/AccompanyReviewRepository.java +++ b/src/main/java/connectripbe/connectrip_be/review/repository/AccompanyReviewRepository.java @@ -24,7 +24,7 @@ public interface AccompanyReviewRepository extends JpaRepository findAllTargetIdsByReviewerIdAndChatRoomId(@Param("reviewerId") Long reviewerId, @Param("chatRoomId") Long chatRoomId); }