API 발송통계 수정

This commit is contained in:
name 2023-08-09 10:10:15 +09:00
parent f2c9bc30fc
commit b7c3dfd3ee
5 changed files with 57 additions and 10 deletions

View File

@ -288,10 +288,7 @@
, A.CUR_STATE
, A.RSLT_CODE
, A.RSLT_CODE2
, CASE
WHEN B.SEND_KIND = 'H' THEN 'WEB'
ELSE 'API'
END as sendKind
, B.SEND_KIND as sendKind
, CASE
WHEN B.MSG_TYPE = '6'
AND B.FILE_CNT > 0
@ -496,7 +493,7 @@
, MD.CUR_STATE
, MD.RSLT_CODE
, MD.RSLT_CODE2
, CASE WHEN MGD.SEND_KIND = 'H' THEN 'WEB' ELSE 'API' END as sendKind
, MGD.SEND_KIND AS sendKind
,(<include refid="MjonMsgSentDAO.selectAgentResultQuery_MD"/>) AS RESULT
FROM
mj_msg_data MD
@ -589,6 +586,9 @@
AND CALL_FROM LIKE CONCAT('%', #searchKeyword#, '%')
</isEqual>
</isNotEmpty>
<isNotEmpty property="searchCondition_01">
AND sendKind = #searchCondition_01#
</isNotEmpty>
<isNotEmpty property="startDate">
<![CDATA[
AND DATE_FORMAT(REGDATE, '%Y-%m-%d') >= DATE_FORMAT(#startDate#, '%Y-%m-%d')
@ -613,7 +613,6 @@
$searchSortOrd$
</isNotEmpty>
LIMIT #recordCountPerPage# OFFSET #firstIndex#
</select>

View File

@ -178,7 +178,19 @@ $(document).ready(function(){
</p>
</td>
<td name="listTd">
<p>${resultAllSentList.sendKind }</p>
<p>
<c:choose>
<c:when test="${resultAllSentList.sendKind eq 'H' }">
WEB
</c:when>
<c:when test="${resultAllSentList.sendKind eq 'A'}">
API
</c:when>
<c:otherwise>
-
</c:otherwise>
</c:choose>
</p>
</td>
<td name="listTd">
<button class="btnType btnType20" data-tooltip="rev_popup01" onClick="javascript:fnRevDetailPop('${resultAllSentList.msgGroupId}','${resultAllSentList.msgId}','${resultAllSentList.fileCnt}'); return false;">상세보기</button>

View File

@ -170,7 +170,19 @@ $(document).ready(function(){
</p>
</td>
<td>
${resultAllSentList.sendKind }
<p>
<c:choose>
<c:when test="${resultAllSentList.sendKind eq 'H' }">
WEB
</c:when>
<c:when test="${resultAllSentList.sendKind eq 'A'}">
API
</c:when>
<c:otherwise>
-
</c:otherwise>
</c:choose>
</p>
</td>
<td>
<button class="btnType btnType20" data-tooltip="rev_popup01" onClick="javascript:fnRevDetailPop('${resultAllSentList.msgGroupId}','${resultAllSentList.msgId}','${resultAllSentList.fileCnt}'); return false;">상세보기</button>

View File

@ -158,7 +158,19 @@ $(document).ready(function(){
</p>
</td>
<td>
${resultAllSentList.sendKind }
<p>
<c:choose>
<c:when test="${resultAllSentList.sendKind eq 'H' }">
WEB
</c:when>
<c:when test="${resultAllSentList.sendKind eq 'A'}">
API
</c:when>
<c:otherwise>
-
</c:otherwise>
</c:choose>
</p>
</td>
<td>
<button class="btnType btnType20" data-tooltip="rev_popup01" onClick="javascript:fnRevDetailPop('${resultAllSentList.msgGroupId}','${resultAllSentList.msgId}','${resultAllSentList.fileCnt}'); return false;">상세보기</button>

View File

@ -170,7 +170,19 @@ $(document).ready(function(){
</p>
</td>
<td>
${resultAllSentList.sendKind }
<p>
<c:choose>
<c:when test="${resultAllSentList.sendKind eq 'H' }">
WEB
</c:when>
<c:when test="${resultAllSentList.sendKind eq 'A'}">
API
</c:when>
<c:otherwise>
-
</c:otherwise>
</c:choose>
</p>
</td>
<td>
<button class="btnType btnType20" data-tooltip="rev_popup01" onClick="javascript:fnRevDetailPop('${resultAllSentList.msgGroupId}','${resultAllSentList.msgId}','${resultAllSentList.fileCnt}'); return false;">상세보기</button>