테스트 및 보완사항 처리

This commit is contained in:
KNKIM 2021-11-22 16:02:15 +09:00
parent c3039e74fc
commit dac6212a1e
10 changed files with 137 additions and 94 deletions

View File

@ -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;

View File

@ -188,6 +188,8 @@ public class RentServiceImpl implements RentService
} else {
cVO.setRsrvId(null);
cVO.setRsrvDd(null);
cVO.setResultCode(resVO.getResultCode());
cVO.setResultMessage(resVO.getResultMessage());
}
}

View File

@ -238,6 +238,11 @@ public class RentController extends NlibCommonController
List<CollectionVO> 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");

View File

@ -304,13 +304,13 @@ $(document).ready(function() {
<a href="javascript:void(0)"><img src="${cart.rprsThumbUrlWithDefaultSmall }" alt="썸네일" width="60" height="91" title="상세보기" onclick="gfn_getDetail('${cart.masterId }')"></a>
<sec:authorize access="isAuthenticated()">
<c:if test='${cart.MUseYn == "Y"}'>
<span id="favorites_${cart.masterId }" class="favorites" onclick="fn_changeInterestBtn('${cart.masterId }', 'off')" title="관심자료에서 삭제합니다.">
<span id="favorites_${cart.masterId }" class="favorites" onclick="fn_changeInterest('${cart.masterId }', 'off')" title="관심자료에서 삭제합니다.">
<img src="/images/icon/icon-cart-Favorites-on.png" class="off" alt="즐겨찾기 아이콘">
<img src="/images/icon/icon-cart-Favorites.png" class="on" alt="즐겨찾기 아이콘">
</span>
</c:if>
<c:if test='${cart.MUseYn != "Y"}'>
<span class="favorites" onclick="fn_changeInterestBtn('${cart.masterId }', 'on')" title="관심자료로 등록합니다.">
<span id="favorites_${cart.masterId }" class="favorites" onclick="fn_changeInterestBtn('${cart.masterId }', 'on')" title="관심자료로 등록합니다.">
<img src="/images/icon/icon-cart-Favorites.png" class="off" alt="즐겨찾기 아이콘">
<img src="/images/icon/icon-cart-Favorites-on.png" class="on" alt="즐겨찾기 아이콘">
</span>

View File

@ -1,9 +1,9 @@
<%
/**
* <pre>
* @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() {
<div class="t-date">반납예정일</div>
</div>
<c:forEach var="rent" items="${list}" varStatus="status">
<c:forEach var="read" items="${list}" varStatus="status">
<c:set var="curType" value="0" />
@ -228,10 +224,10 @@ $(document).ready(function() {
// 대출가능코드(operOutRangeCd)가 01:대출가능이면서
// 이용상태코드 (useStatus)가 01:이용가능, 또는 05 : 이용가능, 또는 04 : 열람대기(대출가능) 인 경우
%>
<c:if test="${rent.operOutRangeCd == '01' and (rent.useStatus == '01' or rent.useStatus == '04' or rent.useStatus == '05') }">
<c:if test="${read.operOutRangeCd == '01' and (read.useStatus == '01' or read.useStatus == '04' or read.useStatus == '05') }">
<c:set var="rentType1Cnt" value="${rentType1Cnt+1}" />
<c:set var="curType" value="1" />
<c:set var="selItems" value='${selItems += "," += rent.masterId }' />
<c:set var="selItems" value='${selItems += "," += read.masterId }' />
</c:if>
<%
@ -241,45 +237,45 @@ $(document).ready(function() {
// 대출가능코드(operOutRangeCd)가 01 :대출가능이면서
// 이용상태코드 (useStatus)가 02 : 대출중 (대기자 0명) 인 경우
%>
<c:if test="${rent.operOutRangeCd == '01' and rent.useStatus == '02' }">
<c:if test="${read.operOutRangeCd == '01' and read.useStatus == '02' }">
<c:set var="rentType2Cnt" value="${rentType2Cnt+1}" />
<c:set var="curType" value="2" />
<c:set var="selItems" value='${selItems += "," += rent.masterId }' />
<c:set var="selItems" value='${selItems += "," += read.masterId }' />
</c:if>
<div class="list">
<div class="t-data">
<div class="img"><a href="javascript:void(0)"><img src="${rent.rprsThumbUrlWithDefaultSmall }" alt="썸네일" width="60" height="91" title="상세보기" onclick="fn_gotoDetail('${rent.masterId }')"></a>
<c:if test='${cart.MUseYn == "Y"}'>
<span class="favorites" onclick="fn_changeInterest('${rent.masterId }', 'off')" title="관심자료에서 삭제합니다.">
<div class="img"><a href="javascript:void(0)"><img src="${read.rprsThumbUrlWithDefaultSmall }" alt="썸네일" width="60" height="91" title="상세보기" onclick="gfn_getDetail('${read.masterId }')"></a>
<c:if test='${read.MUseYn == "Y"}'>
<span id="favorites_${read.masterId}" class="favorites" onclick="fn_changeInterest('${read.masterId }', 'off')" title="관심자료에서 삭제합니다.">
<img src="/images/icon/icon-cart-Favorites-on.png" class="off" alt="즐겨찾기 아이콘">
<img src="/images/icon/icon-cart-Favorites.png" class="on" alt="즐겨찾기 아이콘">
</span>
</c:if>
<c:if test='${rent.MUseYn != "Y"}'>
<span class="favorites" onclick="fn_changeInterest('${rent.masterId }', 'on')" title="관심자료로 등록합니다.">
<c:if test='${read.MUseYn != "Y"}'>
<span id="favorites_${read.masterId}" class="favorites" onclick="fn_changeInterest('${read.masterId }', 'on')" title="관심자료로 등록합니다.">
<img src="/images/icon/icon-cart-Favorites.png" class="off" alt="즐겨찾기 아이콘">
<img src="/images/icon/icon-cart-Favorites-on.png" class="on" alt="즐겨찾기 아이콘">
</span>
</c:if>
</div>
<div class="type">
<c:if test="${rent.openDivCd != '3' }">
<c:if test="${read.ableOnline }">
<span class="online">온라인열람</span>
</c:if>
<c:if test="${rent.operOutRangeCd == '01' }">
<c:if test="${read.ableRent }">
<span class="loan">대출</span>
</c:if>
<c:if test="${rent.operReadRangeCd != '03' }">
<c:if test="${read.ableRead }">
<span class="visit">방문열람</span>
</c:if>
</div>
<div class="title"><a href="javascript:void(0)" onclick="fn_gotoDetail('${rent.masterId }')" title="상세보기">${rent.title }</a></div>
<div class="title"><a href="javascript:void(0)" onclick="gfn_getDetail('${read.masterId }')" title="상세보기">${read.title }</a></div>
</div>
<div class="t-state <c:if test="${rent.useStatus != '03' and rent.useStatus != '06' }">poss</c:if> <c:if test="${rent.useStatus == '03' or rent.useStatus == '06' }">imposs</c:if>"><p>${rent.useStatusNm }</p></div>
<div class="t-date">${rent.rtnExpctDd }</div>
<div class="t-state <c:if test="${read.useStatus != '03' and read.useStatus != '06' }">poss</c:if> <c:if test="${read.useStatus == '03' or read.useStatus == '06' }">imposs</c:if>"><p>${read.useStatusNm }</p></div>
<div class="t-date">${read.rtnExpctDd }</div>
</div>
</c:forEach>

View File

@ -1,9 +1,9 @@
<%
/**
* <pre>
* @Class Name : confirmRent.jsp
* @Class Name : insertReadItems.jsp
*
* @Description : 대출신청 확인 화면
* @Description : 방문열람신청 결과 화면
*
*
* @프로젝트명: 지방문화원 통합자료관리시스템 구축사업 (2021)

View File

@ -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() {
<sec:authorize access="not isAuthenticated()">
@ -116,10 +108,6 @@ function fn_insertRentItems() {
}
function fn_changeInterest(masterId, onOff) {
alert("관심등록/삭제 준비중 : " + masterId + ", " + onOff);
}
function fn_listCartItems() {
<c:if test='${fromCart == "Y" }'>
@ -132,10 +120,6 @@ function fn_listCartItems() {
</c:if>
}
function fn_gotoDetail(masterId) {
alert("상세보기 준비중 : " + masterId);
}
$(document).ready(function() {
/* 탭메뉴 */
@ -198,7 +182,6 @@ $(document).ready(function() {
<c:set var="totCnt" value="0" />
<c:set var="rentType1Cnt" value="0" />
<c:set var="rentType2Cnt" value="0" />
<c:set var="curType" value="" />
<c:set var="selItems" value="" />
<h3><label>대출신청/예약확인 : ${rentVO.mngOrgNm }</label></h3>
@ -213,8 +196,6 @@ $(document).ready(function() {
<c:forEach var="rent" items="${list}" varStatus="status">
<c:set var="curType" value="0" />
<%
//-----------------------------------
// 대출신청인 경우
@ -224,7 +205,6 @@ $(document).ready(function() {
%>
<c:if test="${rent.operOutRangeCd == '01' and (rent.useStatus == '01' or rent.useStatus == '04' or rent.useStatus == '05') }">
<c:set var="rentType1Cnt" value="${rentType1Cnt+1}" />
<c:set var="curType" value="1" />
<c:set var="selItems" value='${selItems += "," += rent.masterId }' />
</c:if>
@ -237,21 +217,20 @@ $(document).ready(function() {
%>
<c:if test="${rent.operOutRangeCd == '01' and rent.useStatus == '02' }">
<c:set var="rentType2Cnt" value="${rentType2Cnt+1}" />
<c:set var="curType" value="2" />
<c:set var="selItems" value='${selItems += "," += rent.masterId }' />
</c:if>
<div class="list">
<div class="t-data">
<div class="img"><a href="javascript:void(0)"><img src="${rent.rprsThumbUrlWithDefaultSmall }" alt="썸네일" width="60" height="91" title="상세보기" onclick="fn_gotoDetail('${rent.masterId }')"></a>
<c:if test='${cart.MUseYn == "Y"}'>
<span class="favorites" onclick="fn_changeInterest('${rent.masterId }', 'off')" title="관심자료에서 삭제합니다.">
<div class="img"><a href="javascript:void(0)"><img src="${rent.rprsThumbUrlWithDefaultSmall }" alt="썸네일" width="60" height="91" title="상세보기" onclick="gfn_getDetail('${rent.masterId }')"></a>
<c:if test='${rent.MUseYn == "Y"}'>
<span id="favorites_${rent.masterId}" class="favorites" onclick="fn_changeInterest('${rent.masterId }', 'off')" title="관심자료에서 삭제합니다.">
<img src="/images/icon/icon-cart-Favorites-on.png" class="off" alt="즐겨찾기 아이콘">
<img src="/images/icon/icon-cart-Favorites.png" class="on" alt="즐겨찾기 아이콘">
</span>
</c:if>
<c:if test='${rent.MUseYn != "Y"}'>
<span class="favorites" onclick="fn_changeInterest('${rent.masterId }', 'on')" title="관심자료로 등록합니다.">
<span id="favorites_${rent.masterId}" class="favorites" onclick="fn_changeInterest('${rent.masterId }', 'on')" title="관심자료로 등록합니다.">
<img src="/images/icon/icon-cart-Favorites.png" class="off" alt="즐겨찾기 아이콘">
<img src="/images/icon/icon-cart-Favorites-on.png" class="on" alt="즐겨찾기 아이콘">
</span>
@ -262,27 +241,27 @@ $(document).ready(function() {
<span class="online">온라인열람</span>
</c:if>
<c:if test="${rent.operOutRangeCd == '01' }">
<c:if test="${rent.ableRent }">
<span class="loan">대출</span>
</c:if>
<c:if test="${rent.operReadRangeCd != '03' }">
<c:if test="${rent.ableRead }">
<span class="visit">방문열람</span>
</c:if>
</div>
<div class="title"><a href="javascript:void(0)" onclick="fn_gotoDetail('${rent.masterId }')" title="상세보기">${rent.title }</a></div>
<div class="title"><a href="javascript:void(0)" onclick="gfn_getDetail('${rent.masterId }')" title="상세보기">${rent.title }</a></div>
</div>
<div class="t-state <c:if test="${rent.useStatus != '03' and rent.useStatus != '06' }">poss</c:if> <c:if test="${rent.useStatus == '03' or rent.useStatus == '06' }">imposs</c:if>"><p>${rent.useStatusNm }</p></div>
<div class="t-date">${rent.rtnExpctDd }</div>
<div class="t-reser <c:if test='${curType != "0" }'>poss</c:if> <c:if test='${curType == "0" }'>imposs</c:if> ">
<c:if test='${curType == "0" }'>신청 불가</c:if>
<c:if test='${curType == "1" }'>대출신청</c:if>
<c:if test='${curType == "2" }'>대출예약</c:if>
<div class="t-reser <c:if test='${rent.ableRentNow }'>poss</c:if> <c:if test='${!rent.ableRentNow}'>imposs</c:if> ">
<c:if test='${!rent.ableRentNow}'>신청 불가</c:if>
<c:if test='${rent.ableRentAppNow}'>대출신청</c:if>
<c:if test='${rent.ableRentResNow}'>대출예약</c:if>
</div>
<div class="t-visit">
<c:if test='${curType == "0" }'>이미 대출 대기자가 있거나 대출가능 자료가 아닙니다.</c:if>
<c:if test='${curType == "1" }'>대출신청 자료는 신청 다음날까지 방문대출이 가능합니다.</c:if>
<c:if test='${curType == "2" }'>대출예약 자료는 반납 즉시 문자(SMS)나 이메일로 안내 드립니다.</c:if>
<c:if test='${!rent.ableRentNow }'>이미 대출 대기자가 있거나 대출가능 자료가 아닙니다.</c:if>
<c:if test='${rent.ableRentAppNow}'>대출신청 자료는 신청 다음날까지 방문대출이 가능합니다.</c:if>
<c:if test='${rent.ableRentResNow}'>대출예약 자료는 반납 즉시 문자(SMS)나 이메일로 안내 드립니다.</c:if>
</div>
</div>
@ -306,15 +285,8 @@ $(document).ready(function() {
</div>
</div>
<c:if test='${rentVO.cartTypeCd == "1"}'>
<p class="text">- 대출예약 자료는 반납 즉시 문자(SMS)나 이메일을 통해 안내 드리며, 3일간 별도 보관됩니다. (3일이 지나면 예약이 취소됩니다.)</p>
<p class="text">- 대출신청 자료의 경우 대출을 신청한 후 다음날까지 방문대출이 가능합니다.</p>
</c:if>
<c:if test='${rentVO.cartTypeCd == "2"}'>
<p class="text">- 자료 열람은 방문열람신청이 승인된 후, 지정된 시간에 가능합니다.</p>
<p class="text">- 방문열람신청이 승인되면 문자(SMS)나 이메일을 통해 안내 드립니다.</p>
</c:if>
<div class="btn-wrap">
<button type="button" class="btn btn-gray" onclick="fn_listCartItems()">취소</button>

View File

@ -1,9 +1,9 @@
<%
/**
* <pre>
* @Class Name : confirmRent.jsp
* @Class Name : insertRentItems.jsp
*
* @Description : 대출신청 확인 화면
* @Description : 대출신청 결과 화면
*
*
* @프로젝트명: 지방문화원 통합자료관리시스템 구축사업 (2021)
@ -195,28 +195,28 @@ $(document).ready(function() {
<div class="list">
<div class="t-data">
<div class="img"><a href="javascript:void(0)"><img src="${rent.rprsThumbUrlWithDefaultSmall }" alt="썸네일" width="60" height="91" title="상세보기" onclick="fn_gotoDetail('${rent.masterId }')"></a>
<c:if test='${cart.MUseYn == "Y"}'>
<span class="favorites" onclick="fn_changeInterest('${rent.masterId }', 'off')" title="관심자료에서 삭제합니다.">
<c:if test='${rent.MUseYn == "Y"}'>
<span id="favorites_${rent.masterId}" class="favorites" onclick="fn_changeInterest('${rent.masterId }', 'off')" title="관심자료에서 삭제합니다.">
<img src="/images/icon/icon-cart-Favorites-on.png" class="off" alt="즐겨찾기 아이콘">
<img src="/images/icon/icon-cart-Favorites.png" class="on" alt="즐겨찾기 아이콘">
</span>
</c:if>
<c:if test='${rent.MUseYn != "Y"}'>
<span class="favorites" onclick="fn_changeInterest('${rent.masterId }', 'on')" title="관심자료로 등록합니다.">
<span id="favorites_${rent.masterId}" class="favorites" onclick="fn_changeInterest('${rent.masterId }', 'on')" title="관심자료로 등록합니다.">
<img src="/images/icon/icon-cart-Favorites.png" class="off" alt="즐겨찾기 아이콘">
<img src="/images/icon/icon-cart-Favorites-on.png" class="on" alt="즐겨찾기 아이콘">
</span>
</c:if> </div>
<div class="type">
<c:if test="${rent.openDivCd != '3' }">
<c:if test="${rent.ableOnline}">
<span class="online">온라인열람</span>
</c:if>
<c:if test="${rent.operOutRangeCd == '01' }">
<c:if test="${rent.ableRent}">
<span class="loan">대출</span>
</c:if>
<c:if test="${rent.operReadRangeCd != '03' }">
<c:if test="${rent.ableRead }">
<span class="visit">방문열람</span>
</c:if>
</div>
@ -230,14 +230,22 @@ $(document).ready(function() {
</c:if>
</div>
<div class="t-visit long">
<c:if test='${rent.bookLtRvStatusCd != "1" }'>
<c:if test='${rent.rsrvDivCd == "1" }'>
대출신청 자료는 신청 다음날까지 방문대출이 가능합니다.
<c:set var="rentType1Cnt" value="${rentType1Cnt+1}" />
</c:if>
<c:if test='${rent.bookLtRvStatusCd != "2" }'>
<c:if test='${rent.rsrvDivCd == "2" }'>
대출예약 자료는 반납 즉시 문자(SMS)나 이메일로 안내 드립니다.
<c:set var="rentType2Cnt" value="${rentType2Cnt+1}" />
</c:if>
<c:if test='${rent.rsrvDivCd != "1" and rent.rsrvDivCd != "2" }'>
<c:if test='${not empty rent.resultMessage }'>
${rent.resultMessage }
</c:if>
<c:if test='${empty rent.resultMessage }'>
잘못된 접근이거나, 정상처리되지 않았습니다.
</c:if>
</c:if>
</div>
</div>
@ -250,7 +258,15 @@ $(document).ready(function() {
<div class="compl-box">
<div class="compl-icon"><img src="/images/icon/icon-cart-com.png" alt="체크 아이콘"></div>
<div class="compl-text">자료 <span>${rentType1Cnt }</span>건 대출신청, 자료 <span>${rentType2Cnt }</span>건 대출예약이 <span>완료</span>되었습니다.</div>
<div class="compl-text">
<c:if test='${(rentType1Cnt + rentType2Cnt) > 0 }'>
<c:if test='${rentType1Cnt > 0 }'>
자료 <span>${rentType1Cnt }</span>건 대출신청</c:if><c:if test='${rentType1Cnt > 0 and rentType2Cnt > 0 }'>,</c:if><c:if test='${rentType2Cnt > 0 }'>
자료 <span>${rentType2Cnt }</span>건 대출예약</c:if>이 <span>완료</span>되었습니다.</div>
</c:if>
<c:if test='${(rentType1Cnt + rentType2Cnt) < 1 }'>
<span>처리 내역이 없습니다.</span>
</c:if>
</div>
<script>

View File

@ -147,12 +147,22 @@
<a href="javascript:void(0);" onclick="gfn_getDetail('${item.masterId }')"><img src="${item.rprsThumbUrlWithDefaultSmall }" width="130" height="196" alt="썸네일"></a>
</div>
<div class="text">
<div class="ti">${item.title }</div>
<div class="ti"><a href="javascript:void(0);" onclick="gfn_getDetail('${item.masterId }')">${item.title }</a></div>
<div class="cl">
<p class="typ"><span>자료유형 :</span><span>${item.typeDivNm } <c:if test="${not empty item.typeDivNm and not empty item.dtlsTypeDivNm }">&gt;</c:if> ${item.dtlsTypeDivNm }</span></p>
<p class="sub"><span>주제분야 :</span><span>${item.subjectNmUp } <c:if test="${not empty item.subjectNmUp and not empty item.subjectNm }">&gt;</c:if> ${item.subjectNm }</span></p>
<p class="age"><span>생산기관 :</span><span>${item.orgNm }</span></p>
<p class="yea"><span>생산년도 :</span><span>${item.creatYyyy }</span></p>
<p class="typ"><span>자료유형 :</span><span>${item.typeDivNm }
<c:if test="${not empty item.typeDivNm and not empty item.dtlsTypeDivNm }">&gt;</c:if> ${item.dtlsTypeDivNm }
<c:if test="${empty item.typeDivNm and empty item.dtlsTypeDivNm }">-</c:if>
</span></p>
<p class="sub"><span>주제분야 :</span><span>${item.subjectNmUp }
<c:if test="${not empty item.subjectNmUp and not empty item.subjectNm }">&gt;</c:if> ${item.subjectNm }
<c:if test="${empty item.subjectNmUp and empty item.subjectNm }">-</c:if>
</span></p>
<p class="age"><span>생산기관 :</span><span>${item.orgNm }
<c:if test="${empty item.orgNm }">-</c:if>
</span></p>
<p class="yea"><span>생산년도 :</span><span>${item.creatYyyy }
<c:if test="${empty item.creatYyyy }">-</c:if>
</span></p>
</div>
</div>
</div>
@ -178,12 +188,18 @@
<p>[${item.mngOrgNm }]</p>
</div>
<div class="con">
<p>${item.title }</p>
<p><a href="javascript:void(0);" onclick="gfn_getDetail('${item.masterId }')">${item.title }</a></p>
<p>
<span><em>자료유형 : </em> ${item.typeDivNm } <c:if test="${not empty item.typeDivNm and not empty item.dtlsTypeDivNm }">&gt;</c:if> ${item.dtlsTypeDivNm }</span>
<span><em>주제분야 : </em> ${item.subjectNmUp } <c:if test="${not empty item.subjectNmUp and not empty item.subjectNm }">&gt;</c:if> ${item.subjectNm }</span>
<span><em>생산기관 : </em> ${item.orgNm }</span>
<span><em>생산년도 : </em> ${item.creatYyyy }</span>
<span><em>자료유형 : </em> ${item.typeDivNm }
<c:if test="${not empty item.typeDivNm and not empty item.dtlsTypeDivNm }">&gt;</c:if> ${item.dtlsTypeDivNm }
<c:if test="${empty item.typeDivNm and empty item.dtlsTypeDivNm }">-</c:if>
</span>
<span><em>주제분야 : </em> ${item.subjectNmUp }
<c:if test="${not empty item.subjectNmUp and not empty item.subjectNm }">&gt;</c:if> ${item.subjectNm }
<c:if test="${empty item.subjectNmUp and empty item.subjectNm }">-</c:if>
</span>
<span><em>생산기관 : </em> ${item.orgNm } <c:if test="${empty item.orgNm }">-</c:if></span>
<span><em>생산년도 : </em> ${item.creatYyyy } <c:if test="${empty item.creatYyyy }">-</c:if></span>
</p>
</div>
<div class="state">
@ -218,12 +234,18 @@
<p>[${item.mngOrgNm }]</p>
</div>
<div class="con">
<p>${item.title }</p>
<p><a href="javascript:void(0);" onclick="gfn_getDetail('${item.masterId }')">${item.title }</a></p>
<p>
<span><em>자료유형 : </em> ${item.typeDivNm } <c:if test="${not empty item.typeDivNm and not empty item.dtlsTypeDivNm }">&gt;</c:if> ${item.dtlsTypeDivNm }</span>
<span><em>주제분야 : </em> ${item.subjectNmUp } <c:if test="${not empty item.subjectNmUp and not empty item.subjectNm }">&gt;</c:if> ${item.subjectNm }</span>
<span><em>생산기관 : </em> ${item.orgNm }</span>
<span><em>생산년도 : </em> ${item.creatYyyy }</span>
<span><em>자료유형 : </em> ${item.typeDivNm }
<c:if test="${not empty item.typeDivNm and not empty item.dtlsTypeDivNm }">&gt;</c:if> ${item.dtlsTypeDivNm }
<c:if test="${empty item.typeDivNm and empty item.dtlsTypeDivNm }">-</c:if>
</span>
<span><em>주제분야 : </em> ${item.subjectNmUp }
<c:if test="${not empty item.subjectNmUp and not empty item.subjectNm }">&gt;</c:if> ${item.subjectNm }
<c:if test="${empty item.subjectNmUp and empty item.subjectNm }">-</c:if>
</span>
<span><em>생산기관 : </em> ${item.orgNm } <c:if test="${empty item.orgNm }">-</c:if></span>
<span><em>생산년도 : </em> ${item.creatYyyy } <c:if test="${empty item.creatYyyy }">-</c:if></span>
</p>
</div>
<div class="state">
@ -250,4 +272,5 @@
</div>
</div>

View File

@ -5,10 +5,28 @@
String councilCd = (String)session.getAttribute("councilCd");
String councilNm = (String)session.getAttribute("councilNm");
%>
<!DOCTYPE html>
<html lang="ko">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="format-detection" content="telephone=no" />
<title>소장자료관</title>
<link href="/css/common.css" rel="stylesheet">
<link href="/css/default.css" rel="stylesheet">
<link href="/css/media.css" rel="stylesheet">
<script src="/js/jquery-1.11.2.min.js"></script>
<script src="/js/jquery.mCustomScrollbar.js"></script>
<script src="/js/swiper.min.js"></script>
<script src="/js/default.js"></script>
</head>
<body>
<div class="wrap">
<div class="error">
<div class="text">
<h1><a href="javascript:void(0)" onclick="javascript:location.href='/';"><img src="/images/icon/icon-logo.png" alt="문화원로고"><span class="title"><%=councilNm %></span></a><span class="collection">소장자료관</span></h1>
<p><span>500 ERROR :</span> Service Error</p>
<p>죄송합니다. 현재 서비스가 원활하지 않습니다.</p>
<p><img src="/images/icon/icon-error.png" alt="에러 아이콘"></p>
@ -22,3 +40,6 @@ String councilNm = (String)session.getAttribute("councilNm");
</div>
</div>
</div>
</body>
</html>