From 6b94287244722f5eef2e2f30b82c2d2fa19ee93d Mon Sep 17 00:00:00 2001 From: mjkhan21 Date: Fri, 1 Dec 2023 09:56:38 +0900 Subject: [PATCH] =?UTF-8?q?pageNum=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 6 ++++++ .../java/cokr/xit/foundation/component/QueryRequest.java | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 785f9aa..5854eca 100644 --- a/pom.xml +++ b/pom.xml @@ -78,6 +78,12 @@ ${org.egovframe.rte.version} + + org.egovframe.rte + org.egovframe.rte.fdl.crypto + ${org.egovframe.rte.version} + + com.sun.xml.bind jaxb-core diff --git a/src/main/java/cokr/xit/foundation/component/QueryRequest.java b/src/main/java/cokr/xit/foundation/component/QueryRequest.java index f24d872..688a8a8 100644 --- a/src/main/java/cokr/xit/foundation/component/QueryRequest.java +++ b/src/main/java/cokr/xit/foundation/component/QueryRequest.java @@ -69,7 +69,8 @@ public class QueryRequest extends ServiceRequest { * @return dataStart 조회 결과의 시작 페이지 */ public int getPageNum() { - return isEmpty(download) ? pageNum : 0; + return Math.max(pageNum, 1); +// return isEmpty(download) ? pageNum : 0; } /**조회 결과의 시작 페이지를 설정한다.