From a79cf336a59b8022a9a8c900a4ec142f9d13b1d6 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, 12 Oct 2022 10:20:58 +0900 Subject: [PATCH] =?UTF-8?q?Revert=20"=EC=98=A4=ED=83=80=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 This reverts commit cbf18ae3d799d42a6375472dd988da565dd5192a. --- .../jpa/repository/pty/PtyGroupQueryRepository.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 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 3e619b5..ad984af 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 @@ -291,7 +291,7 @@ public class PtyGroupQueryRepository{ } - public PageImpl aprvList(BasGroupAprvRqModel rq, Pageable pageable){ + public List aprvList(BasGroupAprvRqModel rq){ QPtyGroupBas bas = QPtyGroupBas.ptyGroupBas; QPtyCstmrGroup dtl = QPtyCstmrGroup.ptyCstmrGroup; QPtyCstmrBas cstmr = QPtyCstmrBas.ptyCstmrBas; @@ -361,8 +361,8 @@ public class PtyGroupQueryRepository{ // .where(dtl.groupAuthCd.ne("CREATER")) .where(dtl.groupAuthCd.ne("MASTER")) .orderBy(bas.createDt.desc()) - .offset(pageable.getOffset()) - .limit(pageable.getPageSize()) +// .offset(pageable.getOffset()) +// .limit(pageable.getPageSize()) .fetch(); List result = new ArrayList(); @@ -374,14 +374,14 @@ public class PtyGroupQueryRepository{ result.add(model); } } - return new PageImpl<>(result, pageable, result.size()); + return result; } for(BasGroupAprvModel model : queryResult) { model.setMemberName(EncryptUtils.decrypt(model.getMemberName())); result.add(model); } - return new PageImpl<>(result, pageable, result.size()); + return result; } public long aprvCount(BasGroupAprvRqModel rq){ QPtyGroupBas bas = QPtyGroupBas.ptyGroupBas;