From 2ee2bc720c5ac92789e274c8145877e92c77d599 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?junh=5Feee=28=EC=9D=B4=EC=A4=80=ED=9D=AC=29?= Date: Wed, 5 Oct 2022 17:56:49 +0900 Subject: [PATCH] =?UTF-8?q?groupList=20=EC=A1=B0=EA=B1=B4=EC=88=98?= =?UTF-8?q?=EC=A0=95=20=EB=A1=A4=EB=B0=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../palnet/biz/jpa/repository/pty/PtyGroupQueryRepository.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/palnet/biz/jpa/repository/pty/PtyGroupQueryRepository.java b/src/main/java/com/palnet/biz/jpa/repository/pty/PtyGroupQueryRepository.java index ab04e6e..3d44d3c 100644 --- a/src/main/java/com/palnet/biz/jpa/repository/pty/PtyGroupQueryRepository.java +++ b/src/main/java/com/palnet/biz/jpa/repository/pty/PtyGroupQueryRepository.java @@ -115,8 +115,8 @@ public class PtyGroupQueryRepository{ String appAuth = jwtTokenUtil.getUserAuthByToken(); BooleanBuilder builder = new BooleanBuilder(); builder.and(bas.useYn.eq("Y")); - builder.and(dtl.joinYn.eq("Y")); if(appAuth.equals("USER") || appAuth.equals("ROLE_USER")) { + builder.and(dtl.joinYn.eq("Y")); builder.and(dtl.cstmrSno.eq(cstmrSno)); } List result =