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