초기소스

This commit is contained in:
jazz
2025-10-29 17:08:05 +09:00
parent e531aa9540
commit 439a379a02
7551 changed files with 1234427 additions and 3 deletions

View File

@@ -0,0 +1,189 @@
<%@ page import="java.util.Date" %>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="ui" uri="http://www.winbit.kr/ctl/ui"%>
<%--
Class Name : .jsp
Description : 반품/환불 목록조회 화면
Modification Information
수정일 수정자 수정내용
------- -------- ---------------------------
2024-01-30 추지훈 최초 생성
--%>
<script>
$(document).ready(function() {
fn_set_date();
});
</script>
<section class="content-section">
<div class="form-control-container">
<div class="left">
<div class="search-number">
<span class="search-number__text">총 <strong><c:out value="${ resultMap.paginationInfo.totalRecordCount }"/></strong>건</span>
</div>
</div>
<div class="center">
</div>
<div class="right">
<div class="select-box">
<select title="페이지당 출력될 목록건수" name = "pageUnit" id ="pageUnit" onchange = "fn_select_order_refund_list(1); return false;">
<c:forEach items="${ resultMap.paginationInfo.pageUnitArr }" var="pageUnit" varStatus="pageUnitStatus">
<option value="<c:out value="${ pageUnit }"/>" <c:if test="${ resultMap.paginationInfo.recordCountPerPage eq pageUnit}">selected="selected"</c:if>><c:out value="${ pageUnit }"/>개씩</option>
</c:forEach>
</select>
</div>
</div>
</div>
<hr class="spacing">
<div class="table-wrapper">
<table class="table order-section vertical">
<caption>해당 테이블에 대한 설명</caption>
<!-- 각 열 width 설정 -->
<colgroup>
<col style="width: 6%;">
<col style="width: 12%;">
<col style="width: 12%;">
<col style="width: 5%;">
<col style="width: 5%;">
<col style="width: auto;">
<col style="width: 7%;">
<col style="width: 7%;">
<col style="width: 7%;">
<col style="width: 7%;">
<col style="width: 6%;">
<col style="width: 6%;">
</colgroup>
<thead>
<tr>
<th rowspan="2">번호</th>
<th>접수일시</th>
<th rowspan="2">주문번호</th>
<th rowspan="2">결제</th>
<th rowspan="2">종류</th>
<th rowspan="2">사유</th>
<th rowspan="2">회수수량<br>/주문수량</th>
<th rowspan="2">환불방법</th>
<th rowspan="2">환불금액</th>
<th>반품처리완료일시</th>
<th colspan="2">처리상태</th>
</tr>
<tr>
<th>반품/환불번호</th>
<th>환불처리완료일시</th>
<th>반품</th>
<th>환불</th>
</tr>
</thead>
<tbody>
<c:choose>
<c:when test = "${not empty resultMap.resultList}">
<c:forEach var = "refund" items = "${resultMap.resultList}">
<tr>
<td><c:out value="${resultMap.paginationInfo.totalRecordCount - refund.rnum+1 }" /></td>
<td>
<span><c:out value = "${refund.refundReqstDt}"/></span>
<br>
<button type="button" onclick="fn_move_dtlupdt('<c:out value = "${ refund.orderRefundInnb }"/>');" class="blue-6 fw-500" href=""><c:out value = "${ refund.orderRefundInnb }"/></button>
</td>
<td>
<button class="blue-6 fw-500" type="button" onclick="fn_go_ordr_dtl('<c:out value = "${refund.ordrInnb}"/>');" ><c:out value = "${refund.ordrInnb}"/></button>
</td>
<td>
<c:choose>
<c:when test="${ refund.setleDyCd eq '05' }">
<i class="icon icon_word-badge07" ></i><!-- 에스크로 -->
<i class="icon icon_word-badge06" ></i><!-- 가상계좌 -->
</c:when>
<c:when test="${ refund.setleDyCd eq '06' }">
<i class="icon icon_word-badge07" ></i><!-- 에스크로 -->
<i class="icon icon_word-badge13" ></i><!-- 계좌 -->
</c:when>
<c:when test="${ refund.setleDyCd eq '01' }">
<i class="icon icon_word-badge04" ></i><!-- 카드 -->
</c:when>
<c:when test="${ refund.setleDyCd eq '02' }">
<i class="icon icon_word-badge03" ></i><!-- 무통장 -->
</c:when>
<c:when test="${ refund.setleDyCd eq '03' }">
<i class="icon icon_word-badge13" ></i><!-- 계좌 -->
</c:when>
<c:when test="${ refund.setleDyCd eq '04' }">
<i class="icon icon_word-badge06" ></i><!-- 가상계좌 -->
</c:when>
<c:when test="${ refund.setleDyCd eq '07' }">
<i class="icon icon_word-badge05" ></i><!-- 핸드폰 -->
</c:when>
<c:when test="${ refund.setleDyCd eq '08' }">
<i class="icon icon_word-badge12" ></i><!-- 마일리지 -->
</c:when>
<c:when test="${ refund.setleDyCd eq '09' }">
<i class="icon icon_word-badge_pos" ></i><!-- 포스 -->
</c:when>
<c:when test="${ refund.setleDyCd eq '10' }">
<i class="icon icon_word-badge_payco" ></i><!-- 페이코 -->
</c:when>
<c:when test="${ refund.setleDyCd eq '11' }">
<i class="icon icon_word-badge14" ></i><!-- 복합 -->
</c:when>
<c:when test="${ refund.setleDyCd eq '12' }">
<i class="icon icon_word-badge16" ></i><!-- 충전식마일리지 -->
</c:when>
</c:choose>
</td>
<td><c:out value = "${refund.refundTyCdNm}"/></td>
<td>
<c:choose>
<c:when test="${ not empty refund.returnResnCn }">
<c:out value = "${ refund.refundResnCn }"/>
</c:when>
<c:otherwise>
<c:out value = "${ refund.returnResnCnNm }"/>
</c:otherwise>
</c:choose>
</td>
<td><c:out value = "${ refund.refundQy }"/>/<c:out value = "${ refund.orderQy }"/>(<c:out value = "${ refund.orderGoodsCnt }"/>종)</td>
<td>
<c:out value = "${ refund.refundMthCdNm }"/>
</td>
<td>
<span class="comma">
<c:out value = "${ refund.refundAmt }"/>
</span>
</td>
<td>
<c:out value = "${ refund.refundComptDt }"/>
<br>
<c:out value = "${ refund.returnComptDt }"/>
</td>
<td><c:out value = "${ refund.returnProcsSttusCdNm }"/></td>
<td><c:out value = "${ refund.refundProcsSttusCdNm }"/></td>
</tr>
</c:forEach>
</c:when>
<c:otherwise>
<tr>
<td colspan="100%"><spring:message code="common.nodata"/></td>
</tr>
</c:otherwise>
</c:choose>
</tbody>
</table>
</div>
</section>
<div class="pagination__container">
<ui:pagination paginationInfo="${resultMap.paginationInfo}" type="image" jsFunction="fn_select_order_refund_list" />
</div>