API 발송통계 수정
@b7c3dfd3ee4cbb407846ba8a05ed4e1017f908f6
--- src/main/resources/egovframework/sqlmap/let/msg/MjonMsgSent_SQL_mysql.xml
+++ src/main/resources/egovframework/sqlmap/let/msg/MjonMsgSent_SQL_mysql.xml
... | ... | @@ -288,10 +288,7 @@ |
| 288 | 288 |
, A.CUR_STATE |
| 289 | 289 |
, A.RSLT_CODE |
| 290 | 290 |
, A.RSLT_CODE2 |
| 291 |
- , CASE |
|
| 292 |
- WHEN B.SEND_KIND = 'H' THEN 'WEB' |
|
| 293 |
- ELSE 'API' |
|
| 294 |
- END as sendKind |
|
| 291 |
+ , B.SEND_KIND as sendKind |
|
| 295 | 292 |
, CASE |
| 296 | 293 |
WHEN B.MSG_TYPE = '6' |
| 297 | 294 |
AND B.FILE_CNT > 0 |
... | ... | @@ -496,7 +493,7 @@ |
| 496 | 493 |
, MD.CUR_STATE |
| 497 | 494 |
, MD.RSLT_CODE |
| 498 | 495 |
, MD.RSLT_CODE2 |
| 499 |
- , CASE WHEN MGD.SEND_KIND = 'H' THEN 'WEB' ELSE 'API' END as sendKind |
|
| 496 |
+ , MGD.SEND_KIND AS sendKind |
|
| 500 | 497 |
,(<include refid="MjonMsgSentDAO.selectAgentResultQuery_MD"/>) AS RESULT |
| 501 | 498 |
FROM |
| 502 | 499 |
mj_msg_data MD |
... | ... | @@ -589,6 +586,9 @@ |
| 589 | 586 |
AND CALL_FROM LIKE CONCAT('%', #searchKeyword#, '%')
|
| 590 | 587 |
</isEqual> |
| 591 | 588 |
</isNotEmpty> |
| 589 |
+ <isNotEmpty property="searchCondition_01"> |
|
| 590 |
+ AND sendKind = #searchCondition_01# |
|
| 591 |
+ </isNotEmpty> |
|
| 592 | 592 |
<isNotEmpty property="startDate"> |
| 593 | 593 |
<![CDATA[ |
| 594 | 594 |
AND DATE_FORMAT(REGDATE, '%Y-%m-%d') >= DATE_FORMAT(#startDate#, '%Y-%m-%d') |
... | ... | @@ -613,7 +613,6 @@ |
| 613 | 613 |
$searchSortOrd$ |
| 614 | 614 |
</isNotEmpty> |
| 615 | 615 |
LIMIT #recordCountPerPage# OFFSET #firstIndex# |
| 616 |
- |
|
| 617 | 616 |
</select> |
| 618 | 617 |
|
| 619 | 618 |
|
--- src/main/webapp/WEB-INF/jsp/web/msgsent/MsgSentAllListAjax.jsp
+++ src/main/webapp/WEB-INF/jsp/web/msgsent/MsgSentAllListAjax.jsp
... | ... | @@ -178,7 +178,19 @@ |
| 178 | 178 |
</p> |
| 179 | 179 |
</td> |
| 180 | 180 |
<td name="listTd"> |
| 181 |
- <p>${resultAllSentList.sendKind }</p>
|
|
| 181 |
+ <p> |
|
| 182 |
+ <c:choose> |
|
| 183 |
+ <c:when test="${resultAllSentList.sendKind eq 'H' }">
|
|
| 184 |
+ WEB |
|
| 185 |
+ </c:when> |
|
| 186 |
+ <c:when test="${resultAllSentList.sendKind eq 'A'}">
|
|
| 187 |
+ API |
|
| 188 |
+ </c:when> |
|
| 189 |
+ <c:otherwise> |
|
| 190 |
+ - |
|
| 191 |
+ </c:otherwise> |
|
| 192 |
+ </c:choose> |
|
| 193 |
+ </p> |
|
| 182 | 194 |
</td> |
| 183 | 195 |
<td name="listTd"> |
| 184 | 196 |
<button class="btnType btnType20" data-tooltip="rev_popup01" onClick="javascript:fnRevDetailPop('${resultAllSentList.msgGroupId}','${resultAllSentList.msgId}','${resultAllSentList.fileCnt}'); return false;">상세보기</button>
|
--- src/main/webapp/WEB-INF/jsp/web/msgsent/MsgSentCompleteListAjax.jsp
+++ src/main/webapp/WEB-INF/jsp/web/msgsent/MsgSentCompleteListAjax.jsp
... | ... | @@ -170,7 +170,19 @@ |
| 170 | 170 |
</p> |
| 171 | 171 |
</td> |
| 172 | 172 |
<td> |
| 173 |
- ${resultAllSentList.sendKind }
|
|
| 173 |
+ <p> |
|
| 174 |
+ <c:choose> |
|
| 175 |
+ <c:when test="${resultAllSentList.sendKind eq 'H' }">
|
|
| 176 |
+ WEB |
|
| 177 |
+ </c:when> |
|
| 178 |
+ <c:when test="${resultAllSentList.sendKind eq 'A'}">
|
|
| 179 |
+ API |
|
| 180 |
+ </c:when> |
|
| 181 |
+ <c:otherwise> |
|
| 182 |
+ - |
|
| 183 |
+ </c:otherwise> |
|
| 184 |
+ </c:choose> |
|
| 185 |
+ </p> |
|
| 174 | 186 |
</td> |
| 175 | 187 |
<td> |
| 176 | 188 |
<button class="btnType btnType20" data-tooltip="rev_popup01" onClick="javascript:fnRevDetailPop('${resultAllSentList.msgGroupId}','${resultAllSentList.msgId}','${resultAllSentList.fileCnt}'); return false;">상세보기</button>
|
--- src/main/webapp/WEB-INF/jsp/web/msgsent/MsgSentFailListAjax.jsp
+++ src/main/webapp/WEB-INF/jsp/web/msgsent/MsgSentFailListAjax.jsp
... | ... | @@ -158,7 +158,19 @@ |
| 158 | 158 |
</p> |
| 159 | 159 |
</td> |
| 160 | 160 |
<td> |
| 161 |
- ${resultAllSentList.sendKind }
|
|
| 161 |
+ <p> |
|
| 162 |
+ <c:choose> |
|
| 163 |
+ <c:when test="${resultAllSentList.sendKind eq 'H' }">
|
|
| 164 |
+ WEB |
|
| 165 |
+ </c:when> |
|
| 166 |
+ <c:when test="${resultAllSentList.sendKind eq 'A'}">
|
|
| 167 |
+ API |
|
| 168 |
+ </c:when> |
|
| 169 |
+ <c:otherwise> |
|
| 170 |
+ - |
|
| 171 |
+ </c:otherwise> |
|
| 172 |
+ </c:choose> |
|
| 173 |
+ </p> |
|
| 162 | 174 |
</td> |
| 163 | 175 |
<td> |
| 164 | 176 |
<button class="btnType btnType20" data-tooltip="rev_popup01" onClick="javascript:fnRevDetailPop('${resultAllSentList.msgGroupId}','${resultAllSentList.msgId}','${resultAllSentList.fileCnt}'); return false;">상세보기</button>
|
--- src/main/webapp/WEB-INF/jsp/web/msgsent/MsgSentReadyListAjax.jsp
+++ src/main/webapp/WEB-INF/jsp/web/msgsent/MsgSentReadyListAjax.jsp
... | ... | @@ -170,7 +170,19 @@ |
| 170 | 170 |
</p> |
| 171 | 171 |
</td> |
| 172 | 172 |
<td> |
| 173 |
- ${resultAllSentList.sendKind }
|
|
| 173 |
+ <p> |
|
| 174 |
+ <c:choose> |
|
| 175 |
+ <c:when test="${resultAllSentList.sendKind eq 'H' }">
|
|
| 176 |
+ WEB |
|
| 177 |
+ </c:when> |
|
| 178 |
+ <c:when test="${resultAllSentList.sendKind eq 'A'}">
|
|
| 179 |
+ API |
|
| 180 |
+ </c:when> |
|
| 181 |
+ <c:otherwise> |
|
| 182 |
+ - |
|
| 183 |
+ </c:otherwise> |
|
| 184 |
+ </c:choose> |
|
| 185 |
+ </p> |
|
| 174 | 186 |
</td> |
| 175 | 187 |
<td> |
| 176 | 188 |
<button class="btnType btnType20" data-tooltip="rev_popup01" onClick="javascript:fnRevDetailPop('${resultAllSentList.msgGroupId}','${resultAllSentList.msgId}','${resultAllSentList.fileCnt}'); return false;">상세보기</button>
|
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?