diff --git a/data/dataxml/uac.service.nlib.col.getItemInfo_GET.xml b/data/dataxml/uac.service.nlib.col.getItemInfo_GET.xml new file mode 100644 index 00000000..44941ed8 --- /dev/null +++ b/data/dataxml/uac.service.nlib.col.getItemInfo_GET.xml @@ -0,0 +1,9 @@ + + + + S001 + 정상적으로 조회되었습니다. + 1111111 + 제목입니다. + 도서간행물 + diff --git a/src/main/java/nlib/sample/service/impl/SampleDataApiDAO.java b/src/main/java/nlib/sample/service/impl/SampleDataApiDAO.java deleted file mode 100644 index d3f48a58..00000000 --- a/src/main/java/nlib/sample/service/impl/SampleDataApiDAO.java +++ /dev/null @@ -1,47 +0,0 @@ -package nlib.sample.service.impl; - -import org.springframework.stereotype.Repository; - -import nlib.restful.DataApi; -import nlib.restful.service.DataApiReqVO; -import nlib.restful.service.DataApiResVO; - -/** - *
- * @Class Name : SampleDataApiDAO.java
- * 
- * @Description : RESTful API 호출 샘플
- * 
- * 
- * @프로젝트명: 지방문화원 통합자료관리시스템 구축사업 (2021)
- *
- * 
- * - * @ ------------ -------- --------------------------- - * @ 수정일 수정자 수정내용 - * @ ------------ -------- --------------------------- - * @ 2021. 6. 22. KNKIM 최초 생성 - * - * - * @author 이씨플라자 * DIGITALSHIP KNKIM - * @since 2021. 6. 22. - * @version 1.0 - * - */ -@Repository("sampleDataApiDAO") -public class SampleDataApiDAO extends DataApi { - - /** - * 주 자원의 URI - */ - public static final String RESOURCE_URI = "/uac/service/exports"; - - public DataApiResVO getSampleInfo(DataApiReqVO reqVO) throws Exception { - - // URI가 다른 경우, 해당 URI 설정 - reqVO.setReqUrl(RESOURCE_URI); - - return get(reqVO); - } - -} diff --git a/src/main/webapp/WEB-INF/jsp/nlib/sample/getItemInfo.jsp b/src/main/webapp/WEB-INF/jsp/nlib/sample/getItemInfo.jsp new file mode 100644 index 00000000..ec05c220 --- /dev/null +++ b/src/main/webapp/WEB-INF/jsp/nlib/sample/getItemInfo.jsp @@ -0,0 +1,86 @@ +<% +/** + *
+ * @Class Name : getSampleInfo.jsp
+ * 
+ * @Description : RESTful API 호출 샘플
+ * 
+ * 
+ * @프로젝트명: 지방문화원 통합자료관리시스템 구축사업 (2021)
+ *
+ * 
+ * + * @ ------------ -------- --------------------------- + * @ 수정일 수정자 수정내용 + * @ ------------ -------- --------------------------- + * @ 2021. 6. 15. KNKIM 최초 생성 + * + * + * @author 이씨플라자 * DIGITALSHIP KNKIM + * @since 2021. 6. 15. + * @version 1.0 + * + */ + %> +<%@ page language="java" contentType="text/html; charset=UTF-8" %> +<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> +<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui" %> +<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %> +<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> +<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %> +<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %> +<%@ taglib prefix="validator" uri="http://www.springmodules.org/tags/commons-validator" %> + - 결과 + + + + +${pageTitle} + + + + + + + + +
+ +
+ +

${pageTitle}

+ +
Server Protocol : ${serverProtocol}
+
Server IP : ${serverIp}
+
Server PORT : ${serverPort}
+ +
  +
  +
+ + mngOrgCd :
+ masterId :
+ typeDivCd :
+ +
+ resultCode :
+ resultMessage :
+ info.title :
+ info.typeCodeNm :
+ info.masterId :
+
+ +
+ + + +
+ +
+ + + diff --git a/src/main/webapp/WEB-INF/jsp/nlib/sample/listRentItem.jsp b/src/main/webapp/WEB-INF/jsp/nlib/sample/listRentItem.jsp new file mode 100644 index 00000000..729a95f6 --- /dev/null +++ b/src/main/webapp/WEB-INF/jsp/nlib/sample/listRentItem.jsp @@ -0,0 +1,98 @@ +<% +/** + *
+ * @Class Name : getSampleInfo.jsp
+ * 
+ * @Description : RESTful API 호출 샘플
+ * 
+ * 
+ * @프로젝트명: 지방문화원 통합자료관리시스템 구축사업 (2021)
+ *
+ * 
+ * + * @ ------------ -------- --------------------------- + * @ 수정일 수정자 수정내용 + * @ ------------ -------- --------------------------- + * @ 2021. 6. 15. KNKIM 최초 생성 + * + * + * @author 이씨플라자 * DIGITALSHIP KNKIM + * @since 2021. 6. 15. + * @version 1.0 + * + */ + %> +<%@ page language="java" contentType="text/html; charset=UTF-8" %> +<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> +<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui" %> +<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %> +<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> +<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %> +<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %> +<%@ taglib prefix="validator" uri="http://www.springmodules.org/tags/commons-validator" %> +대출목록 + + + + +${pageTitle} + + + + + + + + +
+ +
+ +

${pageTitle}

+ +
Server Protocol : ${serverProtocol}
+
Server IP : ${serverIp}
+
Server PORT : ${serverPort}
+ +
  +
  +
+ + rows :
+ page :
+ mngOrgCd :
+ mbInfoId :
+ -------------------------------------------------------------------------- +
+ resultCode :
+ resultMessage :
+ totPages :
+ records :
+ list :
+ +      > -----------------------------------------------------------
+      > mngOrgCd = ${record.mngOrgCd}
+      > operReadRangeCd = ${record.operReadRangeCd}
+      > bookLtRvStatusCd = ${record.bookLtRvStatusCd}
+      > title = ${record.title}
+      > typeCodeNm = ${record.typeCodeNm}
+      > awaiterCnt = ${record.awaiterCnt}
+      > useStatus = ${record.useStatus}
+
+ +
+ +
+ + + +
+ +
+ + + diff --git a/src/main/webapp/test/testRest.html b/src/main/webapp/test/testRest.html new file mode 100644 index 00000000..4f779f1d --- /dev/null +++ b/src/main/webapp/test/testRest.html @@ -0,0 +1,28 @@ + + + + + + + + + + + + + + + + + +
+ mngOrgCd :
+ masterId :
+ typeDivCd :
+ +
+ +
+ + + \ No newline at end of file