From 484faf5c98939f82b7acf38bec0fb25c4568ea19 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?qkr7828=28=EB=B0=95=EC=9E=AC=EC=9A=B0=29?= <박재우@DESKTOP-EF7ECBO> Date: Wed, 5 Oct 2022 17:26:00 +0900 Subject: [PATCH] =?UTF-8?q?=EC=8A=B9=EC=9D=B8=EA=B4=80=EB=A6=AC=20?= =?UTF-8?q?=EC=A1=B0=EA=B1=B4=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pty/PtyGroupQueryRepository.java | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) 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 5b6250d..1f70c4e 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 @@ -254,19 +254,19 @@ public class PtyGroupQueryRepository{ // builder.and(cstmrDtl.memberName.eq(memberName)); // } - if(appAuth.equals("USER") || appAuth.equals("ROLE_USER")) { - builder.and(bas.groupId.in( - JPAExpressions - .select(bas.groupId) - .from(bas) - .leftJoin(dtl) - .on(bas.groupId.eq(dtl.groupId)) - .where(bas.useYn.eq("Y")) - .where(dtl.cstmrSno.eq(rq.getCstmrSno())) - .where(dtl.groupAuthCd.eq("MASTER").or(dtl.groupAuthCd.eq("LEADER"))) - - )); - } +// if(appAuth.equals("USER") || appAuth.equals("ROLE_USER")) { +// builder.and(bas.groupId.in( +// JPAExpressions +// .select(bas.groupId) +// .from(bas) +// .leftJoin(dtl) +// .on(bas.groupId.eq(dtl.groupId)) +// .where(bas.useYn.eq("Y")) +// .where(dtl.cstmrSno.eq(rq.getCstmrSno())) +// .where(dtl.groupAuthCd.eq("MASTER").or(dtl.groupAuthCd.eq("LEADER"))) +// +// )); +// } if(!StringUtils.isEmpty(rq.getAprvYn())) { builder.and(dtl.aprvlYn.eq(rq.getAprvYn())); }