From 10352c439ca034037f4e81b67a161fd185362603 Mon Sep 17 00:00:00 2001 From: woody35545 Date: Tue, 7 May 2024 01:09:33 +0900 Subject: [PATCH] =?UTF-8?q?update:=20#24=20=ED=83=88=ED=87=B4=ED=95=9C=20?= =?UTF-8?q?=ED=9A=8C=EC=9B=90=EC=9D=80=20=EC=9D=B8=EC=A6=9D=20=EB=8C=80?= =?UTF-8?q?=EC=83=81=EC=97=90=EC=84=9C=20=EC=A0=9C=EC=99=B8=EB=90=98?= =?UTF-8?q?=EB=8F=84=EB=A1=9D=20=EC=84=A4=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../authenticationapi/account/repository/AccountRepository.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/t3t/authenticationapi/account/repository/AccountRepository.java b/src/main/java/com/t3t/authenticationapi/account/repository/AccountRepository.java index 8c72f01..aa44c2d 100644 --- a/src/main/java/com/t3t/authenticationapi/account/repository/AccountRepository.java +++ b/src/main/java/com/t3t/authenticationapi/account/repository/AccountRepository.java @@ -8,6 +8,6 @@ public interface AccountRepository extends JpaRepository { @Query("SELECT a.id as username, m.id as userId , b.password as password, m.role as role FROM Account a " + "INNER JOIN a.member m " + "INNER JOIN BookstoreAccount b ON a.id = b.id " + - "WHERE a.id = :id") + "WHERE a.id = :id AND a.deleted = 0") UserEntityDto loadUserEntity(String id); }