From 2b63efdcc830eaaaaee41535d7b60481ffc2be72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EB=B0=95=EC=9E=AC=EC=9A=B0?= <박재우@DESKTOP-EF7ECBO> Date: Mon, 19 Sep 2022 16:57:13 +0900 Subject: [PATCH] =?UTF-8?q?repository=20=EC=A1=B0=EA=B1=B4=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../palnet/biz/api/anls/hstry/service/AnlsHstryService.java | 1 - .../palnet/biz/jpa/repository/ctr/CtrCntrlQueryRepository.java | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/main/java/com/palnet/biz/api/anls/hstry/service/AnlsHstryService.java b/src/main/java/com/palnet/biz/api/anls/hstry/service/AnlsHstryService.java index 918fd46..8437e23 100644 --- a/src/main/java/com/palnet/biz/api/anls/hstry/service/AnlsHstryService.java +++ b/src/main/java/com/palnet/biz/api/anls/hstry/service/AnlsHstryService.java @@ -49,7 +49,6 @@ public class AnlsHstryService { for(JwtGroupModel list : group) { if(rq.getGroupId().equals(list.getGroupId())) { userAccount = list.getGroupAuthCd(); - System.out.println(">>>>>>>" + userAccount); } } List returnList = query.listCntrlBasRs(rq, cstmrSno, userAccount); diff --git a/src/main/java/com/palnet/biz/jpa/repository/ctr/CtrCntrlQueryRepository.java b/src/main/java/com/palnet/biz/jpa/repository/ctr/CtrCntrlQueryRepository.java index 558ff9e..8585597 100644 --- a/src/main/java/com/palnet/biz/jpa/repository/ctr/CtrCntrlQueryRepository.java +++ b/src/main/java/com/palnet/biz/jpa/repository/ctr/CtrCntrlQueryRepository.java @@ -164,10 +164,9 @@ public List listCntrlBasRs(AnlsHstryGroupModel rq, int cstmrSn if(userAccount.equals("USER")) { builder.and(qFltPlanBasEntity.cstmrSno.eq(cstmrSno)); - log.debug(" ===> USER "); + builder.and(qComArcrftBasEntity.groupId.eq(rq.getGroupId())); } else { builder.and(qComArcrftBasEntity.groupId.eq(rq.getGroupId())); - log.debug(" ===> ADMIN or CREATER "); } if(rq.getStDate() != null) { builder.and(qCntrlBasEntity.cntrlStDt.after(DateUtils.stringToDate(rq.getStDate())));