거래명세서 및 사용내역서 팩스 데이터 처리 오류 수정
- 팩스 성공 건수가 없는 경우 Max/Min 날짜 처리 오류 수정 - 팩스 데이터가 없음에도 화면에는 0건에 대한 데이터가 표시되어 표시 안되도록 수정 처리
This commit is contained in:
parent
a68e341ff8
commit
b2f07dd857
@ -3622,10 +3622,10 @@
|
||||
<select id="mjonMsgDAO.selectPayUserSumFaxList" parameterClass="mjonMsgVO" resultClass="mjonMsgVO">
|
||||
/* 2024.08.23 팩스 데이터 누락으로 추가 */
|
||||
SELECT
|
||||
MAX(DATE_FORMAT(M.REQ_DATE, '%Y-%m-%d' )) AS maxRegDate
|
||||
, MIN(DATE_FORMAT(M.REQ_DATE, '%Y-%m-%d' )) AS minRegDate
|
||||
IFNULL(MAX(DATE_FORMAT(M.REQ_DATE, '%Y-%m-%d' )), 0) AS maxRegDate
|
||||
, IFNULL(MIN(DATE_FORMAT(M.REQ_DATE, '%Y-%m-%d' )), 0) AS minRegDate
|
||||
, M.msgTypeName
|
||||
, SUM(SentEA) AS ftSendCount
|
||||
, IFNULL(SUM(SentEA), 0) AS ftSendCount
|
||||
, ifnull(TRUNCATE(SUM(supplyPrice) , 0), 0) AS supplyPrice
|
||||
, 0 AS vatPrice
|
||||
, ifnull(TRUNCATE(SUM(M.TOT_PRICE) , 0), 0) AS totalPrice
|
||||
|
||||
@ -200,21 +200,23 @@ function f_print(){
|
||||
|
||||
<c:if test="${empty pageType || pageType == 'fax'}">
|
||||
<c:forEach var="resultFax" items="${payUserSumFaxList}" varStatus="status">
|
||||
<tr>
|
||||
<td>${resultFax.msgTypeName}</td>
|
||||
<td>
|
||||
<fmt:formatNumber type="number" maxFractionDigits="3" value="${resultFax.ftSendCount}" var="ftSendCount" />
|
||||
<c:out value="${ftSendCount}"/>
|
||||
</td>
|
||||
<td>
|
||||
<fmt:formatNumber type="number" maxFractionDigits="3" value="${resultFax.supplyPrice}" var="supplyPrice" />
|
||||
<c:out value="${supplyPrice}"/>
|
||||
</td>
|
||||
<td>
|
||||
<fmt:formatNumber type="number" maxFractionDigits="3" value="${resultFax.totalPrice}" var="totalPrice" />
|
||||
<c:out value="${totalPrice}"/>
|
||||
</td>
|
||||
</tr>
|
||||
<c:if test="${resultFax.ftSendCount > 0}">
|
||||
<tr>
|
||||
<td>${resultFax.msgTypeName}</td>
|
||||
<td>
|
||||
<fmt:formatNumber type="number" maxFractionDigits="3" value="${resultFax.ftSendCount}" var="ftSendCount" />
|
||||
<c:out value="${ftSendCount}"/>
|
||||
</td>
|
||||
<td>
|
||||
<fmt:formatNumber type="number" maxFractionDigits="3" value="${resultFax.supplyPrice}" var="supplyPrice" />
|
||||
<c:out value="${supplyPrice}"/>
|
||||
</td>
|
||||
<td>
|
||||
<fmt:formatNumber type="number" maxFractionDigits="3" value="${resultFax.totalPrice}" var="totalPrice" />
|
||||
<c:out value="${totalPrice}"/>
|
||||
</td>
|
||||
</tr>
|
||||
</c:if>
|
||||
</c:forEach>
|
||||
</c:if>
|
||||
<c:if test="${empty resultList && empty payUserSumFaxList}">
|
||||
|
||||
@ -157,21 +157,23 @@ function f_print(){
|
||||
</c:if>
|
||||
<c:if test="${empty pageType || pageType == 'fax'}">
|
||||
<c:forEach var="resultFax" items="${payUserSumFaxList}" varStatus="status">
|
||||
<tr>
|
||||
<td>${resultFax.msgTypeName}</td>
|
||||
<td>
|
||||
<fmt:formatNumber type="number" maxFractionDigits="3" value="${resultFax.ftSendCount}" var="ftSendCount" />
|
||||
<c:out value="${ftSendCount}"/>
|
||||
</td>
|
||||
<td>
|
||||
<fmt:formatNumber type="number" maxFractionDigits="3" value="${resultFax.supplyPrice}" var="supplyPrice" />
|
||||
<c:out value="${supplyPrice}"/>
|
||||
</td>
|
||||
<td>
|
||||
<fmt:formatNumber type="number" maxFractionDigits="3" value="${resultFax.totalPrice}" var="totalPrice" />
|
||||
<c:out value="${totalPrice}"/>
|
||||
</td>
|
||||
</tr>
|
||||
<c:if test="${resultFax.ftSendCount > 0}">
|
||||
<tr>
|
||||
<td>${resultFax.msgTypeName}</td>
|
||||
<td>
|
||||
<fmt:formatNumber type="number" maxFractionDigits="3" value="${resultFax.ftSendCount}" var="ftSendCount" />
|
||||
<c:out value="${ftSendCount}"/>
|
||||
</td>
|
||||
<td>
|
||||
<fmt:formatNumber type="number" maxFractionDigits="3" value="${resultFax.supplyPrice}" var="supplyPrice" />
|
||||
<c:out value="${supplyPrice}"/>
|
||||
</td>
|
||||
<td>
|
||||
<fmt:formatNumber type="number" maxFractionDigits="3" value="${resultFax.totalPrice}" var="totalPrice" />
|
||||
<c:out value="${totalPrice}"/>
|
||||
</td>
|
||||
</tr>
|
||||
</c:if>
|
||||
</c:forEach>
|
||||
</c:if>
|
||||
<c:if test="${ empty resultList && empty payUserSumFaxList}">
|
||||
|
||||
Loading…
Reference in New Issue
Block a user