pageNum 수정

master
mjkhan21 12 months ago
parent c1e301a981
commit 6b94287244

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

@ -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;
}
/** .

Loading…
Cancel
Save