From dac6212a1edaa280c790db9a0dc3d32983a6b3b8 Mon Sep 17 00:00:00 2001 From: KNKIM Date: Mon, 22 Nov 2021 16:02:15 +0900 Subject: [PATCH] =?UTF-8?q?=ED=85=8C=EC=8A=A4=ED=8A=B8=20=EB=B0=8F=20?= =?UTF-8?q?=EB=B3=B4=EC=99=84=EC=82=AC=ED=95=AD=20=EC=B2=98=EB=A6=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/nlib/col/service/CollectionVO.java | 8 +++ .../col/service/impl/RentServiceImpl.java | 2 + .../java/nlib/col/web/RentController.java | 5 ++ .../WEB-INF/jsp/nlib/cart/listCartItems.jsp | 4 +- .../WEB-INF/jsp/nlib/read/confirmRead.jsp | 40 ++++++------- .../WEB-INF/jsp/nlib/read/insertReadItems.jsp | 4 +- .../WEB-INF/jsp/nlib/rent/confirmRent.jsp | 56 +++++-------------- .../WEB-INF/jsp/nlib/rent/insertRentItems.jsp | 38 +++++++++---- .../WEB-INF/jsp/nlib/userInfo/getMyHome.jsp | 53 +++++++++++++----- src/main/webapp/common/error-throw.jsp | 21 +++++++ 10 files changed, 137 insertions(+), 94 deletions(-) diff --git a/src/main/java/nlib/col/service/CollectionVO.java b/src/main/java/nlib/col/service/CollectionVO.java index 7babfe00..81500502 100644 --- a/src/main/java/nlib/col/service/CollectionVO.java +++ b/src/main/java/nlib/col/service/CollectionVO.java @@ -890,9 +890,17 @@ public class CollectionVO extends PagingVO { this.rtnDd = rtnDd; } + public String getmUseYn() { + return getMUseYn(); + } + public String getMUseYn() { return StringUtil.isEmpty(mUseYn) ? "N" : mUseYn; } + + public void setmUseYn(String mUseYn) { + setMUseYn(mUseYn); + } public void setMUseYn(String mUseYn) { this.mUseYn = mUseYn; diff --git a/src/main/java/nlib/col/service/impl/RentServiceImpl.java b/src/main/java/nlib/col/service/impl/RentServiceImpl.java index f1ab680c..a84e887e 100644 --- a/src/main/java/nlib/col/service/impl/RentServiceImpl.java +++ b/src/main/java/nlib/col/service/impl/RentServiceImpl.java @@ -188,6 +188,8 @@ public class RentServiceImpl implements RentService } else { cVO.setRsrvId(null); cVO.setRsrvDd(null); + cVO.setResultCode(resVO.getResultCode()); + cVO.setResultMessage(resVO.getResultMessage()); } } diff --git a/src/main/java/nlib/col/web/RentController.java b/src/main/java/nlib/col/web/RentController.java index 3db28504..d6521dde 100644 --- a/src/main/java/nlib/col/web/RentController.java +++ b/src/main/java/nlib/col/web/RentController.java @@ -238,6 +238,11 @@ public class RentController extends NlibCommonController List list = collectionService.makeInfoListOfCollectionVO(selItems, mbInfoId); + if(StringUtil.isEmpty(rentVO.getMngOrgNm()) && list != null && list.size() > 0) { + rentVO.setMngOrgCd(list.get(0).getMngOrgCd()); + rentVO.setMngOrgNm(list.get(0).getMngOrgNm()); + } + model.addAttribute("rentVO", rentVO); model.addAttribute("list", list); if(fromCart) model.addAttribute("fromCart", fromCart ? "Y" : "N"); diff --git a/src/main/webapp/WEB-INF/jsp/nlib/cart/listCartItems.jsp b/src/main/webapp/WEB-INF/jsp/nlib/cart/listCartItems.jsp index 0d47a4d3..25a6d312 100644 --- a/src/main/webapp/WEB-INF/jsp/nlib/cart/listCartItems.jsp +++ b/src/main/webapp/WEB-INF/jsp/nlib/cart/listCartItems.jsp @@ -304,13 +304,13 @@ $(document).ready(function() { 썸네일 - + 즐겨찾기 아이콘 즐겨찾기 아이콘 - + 즐겨찾기 아이콘 즐겨찾기 아이콘 diff --git a/src/main/webapp/WEB-INF/jsp/nlib/read/confirmRead.jsp b/src/main/webapp/WEB-INF/jsp/nlib/read/confirmRead.jsp index 08e794e7..b6661cb5 100644 --- a/src/main/webapp/WEB-INF/jsp/nlib/read/confirmRead.jsp +++ b/src/main/webapp/WEB-INF/jsp/nlib/read/confirmRead.jsp @@ -1,9 +1,9 @@ <% /** *
- * @Class Name : confirmRent.jsp
+ * @Class Name : confirmRend.jsp
  * 
- * @Description : 대출신청 확인 화면 
+ * @Description : 방문열람신청 확인 화면 
  * 
  * 
  * @프로젝트명: 지방문화원 통합자료관리시스템 구축사업 (2021)
@@ -126,10 +126,6 @@ function fn_changeInterest(masterId, onOff) {
 	alert("관심등록/삭제 준비중 : " + masterId + ", " + onOff);
 }
 
-function fn_gotoDetail(masterId) {
-    alert("상세보기 준비중 : " + masterId);
-}
-
 function fn_listCartItems() {
 	
 
@@ -217,7 +213,7 @@ $(document).ready(function() {
                                         
반납예정일
- + @@ -228,10 +224,10 @@ $(document).ready(function() { // 대출가능코드(operOutRangeCd)가 01:대출가능이면서 // 이용상태코드 (useStatus)가 01:이용가능, 또는 05 : 이용가능, 또는 04 : 열람대기(대출가능) 인 경우 %> - + - + <% @@ -241,45 +237,45 @@ $(document).ready(function() { // 대출가능코드(operOutRangeCd)가 01 :대출가능이면서 // 이용상태코드 (useStatus)가 02 : 대출중 (대기자 0명) 인 경우 %> - + - +
-
썸네일 - - +
썸네일 + + 즐겨찾기 아이콘 즐겨찾기 아이콘 - - + + 즐겨찾기 아이콘 즐겨찾기 아이콘
- + 온라인열람 - + 대출 - + 방문열람
- +
-
poss imposs">

${rent.useStatusNm }

-
${rent.rtnExpctDd }
+
poss imposs">

${read.useStatusNm }

+
${read.rtnExpctDd }
diff --git a/src/main/webapp/WEB-INF/jsp/nlib/read/insertReadItems.jsp b/src/main/webapp/WEB-INF/jsp/nlib/read/insertReadItems.jsp index b55f1cbc..d13b1f54 100644 --- a/src/main/webapp/WEB-INF/jsp/nlib/read/insertReadItems.jsp +++ b/src/main/webapp/WEB-INF/jsp/nlib/read/insertReadItems.jsp @@ -1,9 +1,9 @@ <% /** *
- * @Class Name : confirmRent.jsp
+ * @Class Name : insertReadItems.jsp
  * 
- * @Description : 대출신청 확인 화면 
+ * @Description : 방문열람신청 결과 화면 
  * 
  * 
  * @프로젝트명: 지방문화원 통합자료관리시스템 구축사업 (2021)
diff --git a/src/main/webapp/WEB-INF/jsp/nlib/rent/confirmRent.jsp b/src/main/webapp/WEB-INF/jsp/nlib/rent/confirmRent.jsp
index 3e0f51d3..284b3fe4 100644
--- a/src/main/webapp/WEB-INF/jsp/nlib/rent/confirmRent.jsp
+++ b/src/main/webapp/WEB-INF/jsp/nlib/rent/confirmRent.jsp
@@ -83,14 +83,6 @@ $( document ).ready(function() {
 }); // document ready
 
 
-
-// 선택한 게시글 상세 보기로 이동
-function fn_viewDetail(articleNo) {
-    $("#articleNo").val(articleNo);
-    $("#articleForm").attr("action", "${pageContext.request.contextPath}/board/selectNotice.do");
-    $("#articleForm").submit();
-}
-
 function fn_insertRentItems() {
 	
 	
@@ -116,10 +108,6 @@ function fn_insertRentItems() {
     
 }
 
-function fn_changeInterest(masterId, onOff) {
-	alert("관심등록/삭제 준비중 : " + masterId + ", " + onOff);
-}
-
 function fn_listCartItems() {
 	
 	
@@ -132,10 +120,6 @@ function fn_listCartItems() {
     
 }
 
-function fn_gotoDetail(masterId) {
-    alert("상세보기 준비중 : " + masterId);
-}
-
 $(document).ready(function() {
 	
     /* 탭메뉴 */
@@ -198,7 +182,6 @@ $(document).ready(function() {
           
           
           
-          
           
           
                             

@@ -213,8 +196,6 @@ $(document).ready(function() { - - <% //----------------------------------- // 대출신청인 경우 @@ -224,7 +205,6 @@ $(document).ready(function() { %> - @@ -237,21 +217,20 @@ $(document).ready(function() { %> -
-
썸네일 - - +
썸네일 + + 즐겨찾기 아이콘 즐겨찾기 아이콘 - + 즐겨찾기 아이콘 즐겨찾기 아이콘 @@ -262,27 +241,27 @@ $(document).ready(function() { 온라인열람 - + 대출 - + 방문열람
- +
poss imposs">

${rent.useStatusNm }

${rent.rtnExpctDd }
-
poss imposs "> - 신청 불가 - 대출신청 - 대출예약 +
+ 신청 불가 + 대출신청 + 대출예약
- 이미 대출 대기자가 있거나 대출가능 자료가 아닙니다. - 대출신청 자료는 신청 다음날까지 방문대출이 가능합니다. - 대출예약 자료는 반납 즉시 문자(SMS)나 이메일로 안내 드립니다. + 이미 대출 대기자가 있거나 대출가능 자료가 아닙니다. + 대출신청 자료는 신청 다음날까지 방문대출이 가능합니다. + 대출예약 자료는 반납 즉시 문자(SMS)나 이메일로 안내 드립니다.
@@ -306,15 +285,8 @@ $(document).ready(function() {
-

- 대출예약 자료는 반납 즉시 문자(SMS)나 이메일을 통해 안내 드리며, 3일간 별도 보관됩니다. (3일이 지나면 예약이 취소됩니다.)

- 대출신청 자료의 경우 대출을 신청한 후 다음날까지 방문대출이 가능합니다.

-
- - -

- 자료 열람은 방문열람신청이 승인된 후, 지정된 시간에 가능합니다.

-

- 방문열람신청이 승인되면 문자(SMS)나 이메일을 통해 안내 드립니다.

-
diff --git a/src/main/webapp/WEB-INF/jsp/nlib/rent/insertRentItems.jsp b/src/main/webapp/WEB-INF/jsp/nlib/rent/insertRentItems.jsp index 86b64b23..880565d7 100644 --- a/src/main/webapp/WEB-INF/jsp/nlib/rent/insertRentItems.jsp +++ b/src/main/webapp/WEB-INF/jsp/nlib/rent/insertRentItems.jsp @@ -1,9 +1,9 @@ <% /** *
- * @Class Name : confirmRent.jsp
+ * @Class Name : insertRentItems.jsp
  * 
- * @Description : 대출신청 확인 화면 
+ * @Description : 대출신청 결과 화면 
  * 
  * 
  * @프로젝트명: 지방문화원 통합자료관리시스템 구축사업 (2021)
@@ -195,28 +195,28 @@ $(document).ready(function() {
                                             
썸네일 - - + + 즐겨찾기 아이콘 즐겨찾기 아이콘 - + 즐겨찾기 아이콘 즐겨찾기 아이콘
- + 온라인열람 - + 대출 - + 방문열람
@@ -230,14 +230,22 @@ $(document).ready(function() {
- + 대출신청 자료는 신청 다음날까지 방문대출이 가능합니다. - + 대출예약 자료는 반납 즉시 문자(SMS)나 이메일로 안내 드립니다. + + + ${rent.resultMessage } + + + 잘못된 접근이거나, 정상처리되지 않았습니다. + +
@@ -250,7 +258,15 @@ $(document).ready(function() {
체크 아이콘
-
자료 ${rentType1Cnt }건 대출신청, 자료 ${rentType2Cnt }건 대출예약이 완료되었습니다.
+
+ + + 자료 ${rentType1Cnt }건 대출신청, + 자료 ${rentType2Cnt }건 대출예약완료되었습니다.
+ + + 처리 내역이 없습니다. +
+ + + + +
+

문화원로고<%=councilNm %>소장자료관

500 ERROR : Service Error

죄송합니다. 현재 서비스가 원활하지 않습니다.

에러 아이콘

@@ -22,3 +40,6 @@ String councilNm = (String)session.getAttribute("councilNm");
+ + + \ No newline at end of file