pageNum 수정

master
mjkhan21 12 months ago
parent c1e301a981
commit 6b94287244

@ -78,6 +78,12 @@
<version>${org.egovframe.rte.version}</version> <version>${org.egovframe.rte.version}</version>
</dependency> </dependency>
<dependency>
<groupId>org.egovframe.rte</groupId>
<artifactId>org.egovframe.rte.fdl.crypto</artifactId>
<version>${org.egovframe.rte.version}</version>
</dependency>
<dependency> <dependency>
<groupId>com.sun.xml.bind</groupId> <groupId>com.sun.xml.bind</groupId>
<artifactId>jaxb-core</artifactId> <artifactId>jaxb-core</artifactId>

@ -69,7 +69,8 @@ public class QueryRequest extends ServiceRequest {
* @return dataStart * @return dataStart
*/ */
public int getPageNum() { public int getPageNum() {
return isEmpty(download) ? pageNum : 0; return Math.max(pageNum, 1);
// return isEmpty(download) ? pageNum : 0;
} }
/** . /** .

Loading…
Cancel
Save