고객 문자전송리스트 방식 추가

This commit is contained in:
name 2023-08-01 10:14:26 +09:00
parent abcbbf05cc
commit 59483958dc
6 changed files with 339 additions and 184 deletions

View File

@ -70,6 +70,8 @@ public class MjonMsgSentVO extends UserDefaultVO{
private int successCnt; // 문자발송 성공건수 private int successCnt; // 문자발송 성공건수
private String sendKind; //문자 전송 타입(H:홈페이지 A: API)
private String msgKind; //문자종류(일반:N, 광고:A , 선거:C, 관리자:S, 이벤트:E) private String msgKind; //문자종류(일반:N, 광고:A , 선거:C, 관리자:S, 이벤트:E)
private String delayYn; //지연 문자 유무 private String delayYn; //지연 문자 유무
private String delayCompleteYn; //지연문자 처리 완료 여부 private String delayCompleteYn; //지연문자 처리 완료 여부
@ -420,6 +422,10 @@ public class MjonMsgSentVO extends UserDefaultVO{
public void setDelayCompleteYn(String delayCompleteYn) { public void setDelayCompleteYn(String delayCompleteYn) {
this.delayCompleteYn = delayCompleteYn; this.delayCompleteYn = delayCompleteYn;
} }
public String getSendKind() {
return sendKind;
}
public void setSendKind(String sendKind) {
this.sendKind = sendKind;
}
} }

View File

@ -4451,6 +4451,7 @@
, msgGroupId , msgGroupId
, callFrom , callFrom
, callTo , callTo
, sendKind
, smsTxt , smsTxt
, fileCnt , fileCnt
, msgType , msgType
@ -4475,50 +4476,84 @@
, smiId , smiId
, delayYn , delayYn
, delayCompleteYn , delayCompleteYn
,( ,(SELECT
SELECT
CONCAT( CONCAT(
( (IF(B.FILE_PATH1 IS NOT NULL
IF(B.FILE_PATH1 IS NOT NULL, (SELECT , (SELECT
ATCH_FILE_ID ATCH_FILE_ID
FROM LETTNFILEDETAIL FROM
WHERE CONCAT(STRE_FILE_NM, '.', FILE_EXTSN) = CONCAT(SUBSTRING_INDEX(B.FILE_PATH1, '/', -1)) LETTNFILEDETAIL
LIMIT 1), '') WHERE 1=1
AND CONCAT(STRE_FILE_NM, '.', FILE_EXTSN) = CONCAT(SUBSTRING_INDEX(B.FILE_PATH1, '/', -1))
LIMIT 1)
, '')
) )
,'^', , '^'
( , (IF(B.FILE_PATH2 IS NOT NULL
IF(B.FILE_PATH2 IS NOT NULL, (SELECT , (SELECT
ATCH_FILE_ID ATCH_FILE_ID
FROM LETTNFILEDETAIL FROM
WHERE CONCAT(STRE_FILE_NM, '.', FILE_EXTSN) = CONCAT(SUBSTRING_INDEX(B.FILE_PATH2, '/', -1)) LETTNFILEDETAIL
LIMIT 1), '') WHERE 1=1
AND CONCAT(STRE_FILE_NM, '.', FILE_EXTSN) = CONCAT(SUBSTRING_INDEX(B.FILE_PATH2, '/', -1))
LIMIT 1)
, '')
) )
,'^', , '^'
( , (IF(B.FILE_PATH3 IS NOT NULL
IF(B.FILE_PATH3 IS NOT NULL, (SELECT , (SELECT
ATCH_FILE_ID ATCH_FILE_ID
FROM LETTNFILEDETAIL FROM
WHERE CONCAT(STRE_FILE_NM, '.', FILE_EXTSN) = CONCAT(SUBSTRING_INDEX(B.FILE_PATH3, '/', -1)) LETTNFILEDETAIL
LIMIT 1), '') WHERE 1=1
)) AND CONCAT(STRE_FILE_NM, '.', FILE_EXTSN) = CONCAT(SUBSTRING_INDEX(B.FILE_PATH3, '/', -1))
LIMIT 1)
, '')
)
)
FROM FROM
MJ_MSG_DATA B MJ_MSG_DATA B
WHERE WHERE 1=1
B.MSG_GROUP_ID = msgGroupId AND B.MSG_GROUP_ID = msgGroupId
LIMIT 1 LIMIT 1
) AS atchFiles ) AS atchFiles
FROM FROM
(SELECT (SELECT
(SELECT count(1) (SELECT
count(1)
FROM FROM
(SELECT (SELECT
(<include refid="MjonMsgSentDAO.selectAgentResultQuery_MD"/>) AS resultCodeTxt, (<include refid="MjonMsgSentDAO.selectAgentResultQuery_MD"/>) AS resultCodeTxt
MGD.MSG_GROUP_ID , MGD.MSG_GROUP_ID
FROM MJ_MSG_GROUP_DATA MGD FROM
MJ_MSG_GROUP_DATA MGD
LEFT JOIN MJ_MSG_DATA MD LEFT JOIN MJ_MSG_DATA MD
ON MD.MSG_GROUP_ID = MGD.MSG_GROUP_ID ON MD.MSG_GROUP_ID = MGD.MSG_GROUP_ID
WHERE MGD.USER_ID = #userId# WHERE 1=1
AND MGD.USER_ID = #userId#
AND DATE_FORMAT(MGD.REQ_DATE, '%Y-%m-%d') BETWEEN #ntceBgnde# AND #ntceEndde# AND DATE_FORMAT(MGD.REQ_DATE, '%Y-%m-%d') BETWEEN #ntceBgnde# AND #ntceEndde#
<isNotEmpty property="sendKind">
<isEqual property="sendKind" compareValue="H">
AND MGD.SEND_KIND = 'H'
</isEqual>
<isEqual property="sendKind" compareValue="A">
AND MGD.SEND_KIND = 'A'
</isEqual>
</isNotEmpty>
<isNotEmpty property="searchKeyword">
<isEqual prepend="AND" property="searchCondition" compareValue="">
( MD.CALL_FROM LIKE CONCAT('%' , #searchKeyword#, '%') OR MD.SMS_TXT LIKE CONCAT('%' , #searchKeyword#, '%') )
</isEqual>
<isEqual prepend="AND" property="searchCondition" compareValue="1">
MD.CALL_FROM LIKE CONCAT('%' , #searchKeyword#, '%')
</isEqual>
<isEqual prepend="AND" property="searchCondition" compareValue="2">
MD.SMS_TXT LIKE CONCAT('%' , #searchKeyword#, '%')
</isEqual>
</isNotEmpty>
<isNotEmpty property="reserveType"> <isNotEmpty property="reserveType">
<isEqual property="reserveType" compareValue="D"> <isEqual property="reserveType" compareValue="D">
<![CDATA[ <![CDATA[
@ -4534,19 +4569,23 @@
</isEqual> </isEqual>
</isNotEmpty> </isNotEmpty>
) sub2 ) sub2
WHERE sub2.resultCodeTxt = 'S' WHERE 1=1
AND sub2.resultCodeTxt = 'S'
AND sub2.MSG_GROUP_ID = IN1.MSG_GROUP_ID AND sub2.MSG_GROUP_ID = IN1.MSG_GROUP_ID
) AS msgGroupSCnt ) AS msgGroupSCnt
, COUNT(MSG_GROUP_ID) * EACH_PRICE AS totSPrice , COUNT(MSG_GROUP_ID) * EACH_PRICE AS totSPrice
, (SELECT count(1) , (SELECT
count(1)
FROM FROM
(SELECT (SELECT
(<include refid="MjonMsgSentDAO.selectAgentResultQuery_MD"/>) AS resultCodeTxt, (<include refid="MjonMsgSentDAO.selectAgentResultQuery_MD"/>) AS resultCodeTxt
MGD.MSG_GROUP_ID , MGD.MSG_GROUP_ID
FROM MJ_MSG_GROUP_DATA MGD FROM
MJ_MSG_GROUP_DATA MGD
LEFT JOIN MJ_MSG_DATA MD LEFT JOIN MJ_MSG_DATA MD
ON MD.MSG_GROUP_ID = MGD.MSG_GROUP_ID ON MD.MSG_GROUP_ID = MGD.MSG_GROUP_ID
WHERE MGD.USER_ID = #userId# WHERE 1=1
AND MGD.USER_ID = #userId#
AND DATE_FORMAT(MGD.REQ_DATE, '%Y-%m-%d') BETWEEN #ntceBgnde# AND #ntceEndde# AND DATE_FORMAT(MGD.REQ_DATE, '%Y-%m-%d') BETWEEN #ntceBgnde# AND #ntceEndde#
<isNotEmpty property="reserveType"> <isNotEmpty property="reserveType">
<isEqual property="reserveType" compareValue="D"> <isEqual property="reserveType" compareValue="D">
@ -4563,7 +4602,8 @@
</isEqual> </isEqual>
</isNotEmpty> </isNotEmpty>
) sub2 ) sub2
WHERE <![CDATA[ sub2.resultCodeTxt <> 'S' ]]> WHERE 1=1
AND <![CDATA[ sub2.resultCodeTxt <> 'S' ]]>
AND sub2.MSG_GROUP_ID = IN1.MSG_GROUP_ID AND sub2.MSG_GROUP_ID = IN1.MSG_GROUP_ID
) AS msgGroupFWCnt ) AS msgGroupFWCnt
, '0' AS totFWPrice , '0' AS totFWPrice
@ -4571,6 +4611,7 @@
, USER_ID AS userId , USER_ID AS userId
, CALL_FROM AS callFrom , CALL_FROM AS callFrom
, CALL_TO AS callTo , CALL_TO AS callTo
, SEND_KIND AS sendKind
, SMS_TXT AS smsTxt , SMS_TXT AS smsTxt
, FILE_CNT AS fileCnt , FILE_CNT AS fileCnt
, MSG_TYPE AS msgType , MSG_TYPE AS msgType
@ -4601,6 +4642,7 @@
, MGD.USER_ID , MGD.USER_ID
, MGD.CALL_FROM , MGD.CALL_FROM
, MD.CALL_TO , MD.CALL_TO
, MGD.SEND_KIND
, MGD.SMS_TXT , MGD.SMS_TXT
, MGD.FILE_CNT , MGD.FILE_CNT
, MD.MSG_TYPE , MD.MSG_TYPE
@ -4657,6 +4699,26 @@
</isEqual> </isEqual>
AND DATE_FORMAT(MGD.REQ_DATE, '%Y-%m-%d') BETWEEN #ntceBgnde# AND #ntceEndde# AND DATE_FORMAT(MGD.REQ_DATE, '%Y-%m-%d') BETWEEN #ntceBgnde# AND #ntceEndde#
<isNotEmpty property="sendKind">
<isEqual property="sendKind" compareValue="H">
AND MGD.SEND_KIND = 'H'
</isEqual>
<isEqual property="sendKind" compareValue="A">
AND MGD.SEND_KIND = 'A'
</isEqual>
</isNotEmpty>
<isNotEmpty property="searchKeyword">
<isEqual prepend="AND" property="searchCondition" compareValue="">
( MD.CALL_FROM LIKE CONCAT('%' , #searchKeyword#, '%') OR MD.SMS_TXT LIKE CONCAT('%' , #searchKeyword#, '%') )
</isEqual>
<isEqual prepend="AND" property="searchCondition" compareValue="1">
MD.CALL_FROM LIKE CONCAT('%' , #searchKeyword#, '%')
</isEqual>
<isEqual prepend="AND" property="searchCondition" compareValue="2">
MD.SMS_TXT LIKE CONCAT('%' , #searchKeyword#, '%')
</isEqual>
</isNotEmpty>
<isNotEmpty property="reserveType"> <isNotEmpty property="reserveType">
<isEqual property="reserveType" compareValue="D"> <isEqual property="reserveType" compareValue="D">
<![CDATA[ <![CDATA[
@ -4803,8 +4865,8 @@
ON MD.MSG_GROUP_ID = MGD.MSG_GROUP_ID ON MD.MSG_GROUP_ID = MGD.MSG_GROUP_ID
LEFT JOIN (SELECT CODE_NM ,CODE , CODE_DC FROM LETTCCMMNDETAILCODE WHERE USE_AT = 'Y' AND CODE_ID = 'ITN019' )B LEFT JOIN (SELECT CODE_NM ,CODE , CODE_DC FROM LETTCCMMNDETAILCODE WHERE USE_AT = 'Y' AND CODE_ID = 'ITN019' )B
ON MD.AGENT_CODE = B.CODE ON MD.AGENT_CODE = B.CODE
WHERE WHERE 1=1
MGD.USER_ID = #userId# AND MGD.USER_ID = #userId#
AND MGD.MSG_TYPE IN (4, 6) AND MGD.MSG_TYPE IN (4, 6)
<isNotEmpty property="msgType"> <isNotEmpty property="msgType">
AND MGD.MSG_TYPE = #msgType# AND MGD.MSG_TYPE = #msgType#
@ -4816,6 +4878,28 @@
AND MGD.FILE_CNT = 0 AND MGD.FILE_CNT = 0
</isEqual> </isEqual>
AND DATE_FORMAT(MGD.REQ_DATE, '%Y-%m-%d') BETWEEN #ntceBgnde# AND #ntceEndde# AND DATE_FORMAT(MGD.REQ_DATE, '%Y-%m-%d') BETWEEN #ntceBgnde# AND #ntceEndde#
<isNotEmpty property="sendKind">
<isEqual property="sendKind" compareValue="H">
AND MGD.SEND_KIND = 'H'
</isEqual>
<isEqual property="sendKind" compareValue="A">
AND MGD.SEND_KIND = 'A'
</isEqual>
</isNotEmpty>
<isNotEmpty property="searchKeyword">
<isEqual prepend="AND" property="searchCondition" compareValue="">
( MD.CALL_FROM LIKE CONCAT('%' , #searchKeyword#, '%') OR MD.SMS_TXT LIKE CONCAT('%' , #searchKeyword#, '%') )
</isEqual>
<isEqual prepend="AND" property="searchCondition" compareValue="1">
MD.CALL_FROM LIKE CONCAT('%' , #searchKeyword#, '%')
</isEqual>
<isEqual prepend="AND" property="searchCondition" compareValue="2">
MD.SMS_TXT LIKE CONCAT('%' , #searchKeyword#, '%')
</isEqual>
</isNotEmpty>
<isNotEmpty property="reserveType"> <isNotEmpty property="reserveType">
<isEqual property="reserveType" compareValue="D"> <isEqual property="reserveType" compareValue="D">
<![CDATA[ <![CDATA[
@ -4924,6 +5008,27 @@
</isEqual> </isEqual>
AND DATE_FORMAT(MGD.REQ_DATE, '%Y-%m-%d') BETWEEN #ntceBgnde# AND #ntceEndde# AND DATE_FORMAT(MGD.REQ_DATE, '%Y-%m-%d') BETWEEN #ntceBgnde# AND #ntceEndde#
<isNotEmpty property="sendKind">
<isEqual property="sendKind" compareValue="H">
AND MGD.SEND_KIND = 'H'
</isEqual>
<isEqual property="sendKind" compareValue="A">
AND MGD.SEND_KIND = 'A'
</isEqual>
</isNotEmpty>
<isNotEmpty property="searchKeyword">
<isEqual prepend="AND" property="searchCondition" compareValue="">
( MD.CALL_FROM LIKE CONCAT('%' , #searchKeyword#, '%') OR MD.SMS_TXT LIKE CONCAT('%' , #searchKeyword#, '%') )
</isEqual>
<isEqual prepend="AND" property="searchCondition" compareValue="1">
MD.CALL_FROM LIKE CONCAT('%' , #searchKeyword#, '%')
</isEqual>
<isEqual prepend="AND" property="searchCondition" compareValue="2">
MD.SMS_TXT LIKE CONCAT('%' , #searchKeyword#, '%')
</isEqual>
</isNotEmpty>
<isNotEmpty property="reserveType"> <isNotEmpty property="reserveType">
<isEqual property="reserveType" compareValue="D"> <isEqual property="reserveType" compareValue="D">
<![CDATA[ <![CDATA[

View File

@ -1331,6 +1331,7 @@
AND A.MSG_GROUP_ID = A.msgGroupId AND A.MSG_GROUP_ID = A.msgGroupId
AND (<include refid="MjonMsgSentDAO.selectAgentResultQuery_A"/>) = 'S' AND (<include refid="MjonMsgSentDAO.selectAgentResultQuery_A"/>) = 'S'
) AS successCnt ) AS successCnt
, MGD.SEND_KIND AS sendKind
, MGD.SMS_TXT AS smsTxt , MGD.SMS_TXT AS smsTxt
, userdata , userdata
, curState , curState
@ -1451,6 +1452,7 @@
AND A.MSG_GROUP_ID = A.msgGroupId AND A.MSG_GROUP_ID = A.msgGroupId
AND (<include refid="MjonMsgSentDAO.selectAgentResultQuery_A"/>) = 'S' AND (<include refid="MjonMsgSentDAO.selectAgentResultQuery_A"/>) = 'S'
) AS successCnt ) AS successCnt
, MGD.SEND_KIND AS sendKind
, MGD.SMS_TXT AS smsTxt , MGD.SMS_TXT AS smsTxt
, userdata , userdata
, curState , curState
@ -1574,6 +1576,7 @@
AND A.MSG_GROUP_ID = A.msgGroupId AND A.MSG_GROUP_ID = A.msgGroupId
AND (<include refid="MjonMsgSentDAO.selectAgentResultQuery_A"/>) = 'S' AND (<include refid="MjonMsgSentDAO.selectAgentResultQuery_A"/>) = 'S'
) AS successCnt ) AS successCnt
, MGD.SEND_KIND AS sendKind
, MGD.SMS_TXT AS smsTxt , MGD.SMS_TXT AS smsTxt
, userdata , userdata
, curState , curState

View File

@ -120,6 +120,10 @@ function init_date(){
$('#ntceEnddeYYYMMDD').val(''); $('#ntceEnddeYYYMMDD').val('');
$('#ntceBgnde').val(''); $('#ntceBgnde').val('');
$('#ntceEndde').val(''); $('#ntceEndde').val('');
$('#searchKeyword').val('');
$('#sendKind').val('').prop("selected",true);
$('#searchCondition').val('').prop("selected",true);
} }
@ -342,6 +346,7 @@ function fn_updateSendRealTime(userId, msgGroupId){
<div class="tableWrap tableWrapTotal"> <div class="tableWrap tableWrapTotal">
<table class="tbType1"> <table class="tbType1">
<colgroup> <colgroup>
<col style="width:5.00%">
<col style="width:5.00%"> <col style="width:5.00%">
<col style="width:5.50%"> <col style="width:5.50%">
<col style="width:7.00%"> <col style="width:7.00%">
@ -361,6 +366,7 @@ function fn_updateSendRealTime(userId, msgGroupId){
</colgroup> </colgroup>
<thead> <thead>
<tr> <tr>
<th rowspan="2">방식</th>
<th colspan="4">단문</th> <th colspan="4">단문</th>
<th colspan="4">장문</th> <th colspan="4">장문</th>
<th colspan="4">그림문자</th> <th colspan="4">그림문자</th>
@ -387,33 +393,76 @@ function fn_updateSendRealTime(userId, msgGroupId){
</thead> </thead>
<tbody> <tbody>
<tr> <tr>
<td><span class="tType4 c_456ded fwBold"><fmt:formatNumber value="${msgSmsGroupSCntSum}" pattern="#,###" /></span></td> <td>
<td><span class="tType4 c_456ded fwBold"><fmt:formatNumber value="${totSmsSPriceSum}" pattern="#,###" /></span></td> 전체
<td><span class="tType4 c_456ded fwBold"><fmt:formatNumber value="${msgSmsGroupFWCntSum}" pattern="#,###" /></span></td> </td>
<td><span class="tType4 c_456ded fwBold"><fmt:formatNumber value="${totSmsFWPriceSum}" pattern="#,###" /></span></td> <td>
<td><span class="tType4 c_456ded fwBold"><fmt:formatNumber value="${msgLmsGroupSCntSum}" pattern="#,###" /></span></td> <span class="tType4 c_456ded fwBold">
<td><span class="tType4 c_456ded fwBold"><fmt:formatNumber value="${totLmsSPriceSum}" pattern="#,###" /></span></td> <fmt:formatNumber value="${msgSmsGroupSCntSum}" pattern="#,###" />
<td><span class="tType4 c_456ded fwBold"><fmt:formatNumber value="${msgLmsGroupFWCntSum}" pattern="#,###" /></span></td> </span>
<td><span class="tType4 c_456ded fwBold"><fmt:formatNumber value="${totLmsFWPriceSum}" pattern="#,###" /></span></td> </td>
<td><span class="tType4 c_456ded fwBold"><fmt:formatNumber value="${msgMmsGroupSCntSum}" pattern="#,###" /></span></td> <td>
<td><span class="tType4 c_456ded fwBold"><fmt:formatNumber value="${totMmsSPriceSum}" pattern="#,###" /></span></td> <span class="tType4 c_456ded fwBold"><fmt:formatNumber value="${totSmsSPriceSum}" pattern="#,###" /></span>
<td><span class="tType4 c_456ded fwBold"><fmt:formatNumber value="${msgMmsGroupFWCntSum}" pattern="#,###" /></span></td> </td>
<td><span class="tType4 c_456ded fwBold"><fmt:formatNumber value="${totMmsFWPriceSum}" pattern="#,###" /></span></td> <td>
<td><span class="tType4 c_456ded fwBold"><fmt:formatNumber value="${msgGroupSCntSum}" pattern="#,###" /></span></td> <span class="tType4 c_456ded fwBold"><fmt:formatNumber value="${msgSmsGroupFWCntSum}" pattern="#,###" /></span>
<td><span class="tType4 c_456ded fwBold"><fmt:formatNumber value="${totSPriceSum}" pattern="#,###" /></span></td> </td>
<td><span class="tType4 c_456ded fwBold"><fmt:formatNumber value="${msgGroupFWCntSum}" pattern="#,###" /></span></td> <td>
<td><span class="tType4 c_456ded fwBold"><fmt:formatNumber value="${totFWPriceSum}" pattern="#,###" /></span></td> <span class="tType4 c_456ded fwBold"><fmt:formatNumber value="${totSmsFWPriceSum}" pattern="#,###" /></span>
</td>
<td>
<span class="tType4 c_456ded fwBold"><fmt:formatNumber value="${msgLmsGroupSCntSum}" pattern="#,###" /></span>
</td>
<td>
<span class="tType4 c_456ded fwBold"><fmt:formatNumber value="${totLmsSPriceSum}" pattern="#,###" /></span>
</td>
<td>
<span class="tType4 c_456ded fwBold"><fmt:formatNumber value="${msgLmsGroupFWCntSum}" pattern="#,###" /></span>
</td>
<td>
<span class="tType4 c_456ded fwBold"><fmt:formatNumber value="${totLmsFWPriceSum}" pattern="#,###" /></span>
</td>
<td>
<span class="tType4 c_456ded fwBold"><fmt:formatNumber value="${msgMmsGroupSCntSum}" pattern="#,###" /></span>
</td>
<td>
<span class="tType4 c_456ded fwBold"><fmt:formatNumber value="${totMmsSPriceSum}" pattern="#,###" /></span>
</td>
<td>
<span class="tType4 c_456ded fwBold"><fmt:formatNumber value="${msgMmsGroupFWCntSum}" pattern="#,###" /></span>
</td>
<td>
<span class="tType4 c_456ded fwBold"><fmt:formatNumber value="${totMmsFWPriceSum}" pattern="#,###" /></span>
</td>
<td>
<span class="tType4 c_456ded fwBold"><fmt:formatNumber value="${msgGroupSCntSum}" pattern="#,###" /></span>
</td>
<td>
<span class="tType4 c_456ded fwBold"><fmt:formatNumber value="${totSPriceSum}" pattern="#,###" /></span>
</td>
<td>
<span class="tType4 c_456ded fwBold"><fmt:formatNumber value="${msgGroupFWCntSum}" pattern="#,###" /></span>
</td>
<td>
<span class="tType4 c_456ded fwBold"><fmt:formatNumber value="${totFWPriceSum}" pattern="#,###" /></span>
</td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
</div> </div>
<div class="listSerch"> <div class="listSerch">
<select name="searchCondition" class="select" title="검색조건 선택">
<select id="sendKind" name="sendKind" class="select" title="검색조건 선택">
<option value="" <c:if test="${searchVO.sendKind == ''}">selected="selected"</c:if>>발송방식 전체</option>
<option value="H" <c:if test="${searchVO.sendKind == 'H'}">selected="selected"</c:if>>WEB</option>
<option value="A" <c:if test="${searchVO.sendKind == 'A'}">selected="selected"</c:if>>API</option>
</select>
<select id="searchCondition" name="searchCondition" class="select" title="검색조건 선택">
<option value="" <c:if test="${searchVO.searchCondition == ''}">selected="selected"</c:if>>발신번호/내용</option> <option value="" <c:if test="${searchVO.searchCondition == ''}">selected="selected"</c:if>>발신번호/내용</option>
<%-- <option value="1" <c:if test="${searchVO.searchCondition == '1'}">selected="selected"</c:if>>사용자ID</option> --%> <option value="1" <c:if test="${searchVO.searchCondition == '1'}">selected="selected"</c:if>>발신번호</option>
<option value="2" <c:if test="${searchVO.searchCondition == '2'}">selected="selected"</c:if>>발신번호</option> <option value="2" <c:if test="${searchVO.searchCondition == '2'}">selected="selected"</c:if>>전송내용</option>
<option value="3" <c:if test="${searchVO.searchCondition == '3'}">selected="selected"</c:if>>전송내용</option>
</select> </select>
<input id="searchKeyword" name="searchKeyword" class="recentSearch" type="text" value="<c:out value='${searchVO.searchKeyword}'/>" size="25" title="검색" maxlength="100" /> <input id="searchKeyword" name="searchKeyword" class="recentSearch" type="text" value="<c:out value='${searchVO.searchKeyword}'/>" size="25" title="검색" maxlength="100" />
@ -428,8 +477,7 @@ function fn_updateSendRealTime(userId, msgGroupId){
&nbsp;&nbsp;~ &nbsp;&nbsp;~
<a href="#" onclick="javascript:fn_egov_NormalCalendar(document.forms.listForm, document.forms.listForm.ntceEnddeYYYMMDD);"> <a href="#" onclick="javascript:fn_egov_NormalCalendar(document.forms.listForm, document.forms.listForm.ntceEnddeYYYMMDD);">
<input style="width:auto;min-width: 83px;" type="text" class="date_format" name="ntceEnddeYYYMMDD" id="ntceEnddeYYYMMDD" size="4" maxlength="4" readonly="" <input style="width:auto;min-width: 83px;" type="text" class="date_format" name="ntceEnddeYYYMMDD" id="ntceEnddeYYYMMDD" size="4" maxlength="4" readonly=""
value="<c:out value="${searchVO.ntceEndde}" />" value="<c:out value="${searchVO.ntceEndde}" />" >
>
<input type="button" class="calBtn"> <input type="button" class="calBtn">
</a> </a>
<a href="#" style="margin-left: 17px;" onclick="init_date(); return false;"> <a href="#" style="margin-left: 17px;" onclick="init_date(); return false;">
@ -462,7 +510,7 @@ function fn_updateSendRealTime(userId, msgGroupId){
<col style="width: 6%"> <col style="width: 6%">
<%-- <col style="width: 8%"> --%> <%-- <col style="width: 8%"> --%>
<%-- <col style="width: 6%"> --%> <%-- <col style="width: 6%"> --%>
<%--<col style="width: 6%">--%> <col style="width: 6%">
<col style="width: 8%"> <col style="width: 8%">
<col style="width: 7%"> <col style="width: 7%">
<col style="width: 7%"> <col style="width: 7%">
@ -482,9 +530,7 @@ function fn_updateSendRealTime(userId, msgGroupId){
<th>예약</th> <th>예약</th>
<th>내용</th> <th>내용</th>
<th>타입</th> <th>타입</th>
<!-- <th>금액</th> --> <th>방식</th>
<!-- <th>발송결과</th> -->
<%--<th>전송사</th>--%>
<th>스미싱의심</th> <th>스미싱의심</th>
<th>이용정지</th> <th>이용정지</th>
<th>발송처리</th> <th>발송처리</th>
@ -525,14 +571,6 @@ function fn_updateSendRealTime(userId, msgGroupId){
</c:choose> </c:choose>
</td> </td>
<td> <td>
<%-- <c:choose>
<c:when test="${result.resultCodeTxt eq 'S'}">
<fmt:formatNumber value="${result.msgGroupSCnt}" pattern="#,###" />
</c:when>
<c:otherwise>
<fmt:formatNumber value="${result.msgGroupFWCnt}" pattern="#,###" />
</c:otherwise>
</c:choose> --%>
<fmt:formatNumber value="${result.msgGroupSCnt}" pattern="#,###" />/<fmt:formatNumber value="${result.msgGroupFWCnt}" pattern="#,###" />(<fmt:formatNumber value="${(result.msgGroupSCnt / (result.msgGroupSCnt + result.msgGroupFWCnt)) * 100}" pattern="#,###" />%) <fmt:formatNumber value="${result.msgGroupSCnt}" pattern="#,###" />/<fmt:formatNumber value="${result.msgGroupFWCnt}" pattern="#,###" />(<fmt:formatNumber value="${(result.msgGroupSCnt / (result.msgGroupSCnt + result.msgGroupFWCnt)) * 100}" pattern="#,###" />%)
</td> </td>
<td> <td>
@ -547,27 +585,7 @@ function fn_updateSendRealTime(userId, msgGroupId){
즉시 즉시
</c:otherwise> </c:otherwise>
</c:choose> </c:choose>
</td> </td>
<%--
<td class="msg_detail">
<button type="button" class="btnType btnType20" id="msgDetail" name="msgDetail" onclick="msgDetailView(this, '<c:out value="${result.msgGroupId}"/>', '${status.count}'); return false;">상세보기</button>
<div class="layer_msg_wrap">
<div class="layer_msg_detail">
<button type="button" onclick="msgDetailClose(this);"></button>
<div class="title">
<c:choose>
<c:when test="${result.msgType eq '4'}">단문</c:when>
<c:when test="${result.msgType eq '6' && result.fileCnt > 0}">그림(<c:out value="${result.fileCnt}"/>장)</c:when>
<c:otherwise>장문</c:otherwise>
</c:choose>
</div>
<div class="content msgSentDetailPopLoad${status.count}">
</div>
</div>
</div>
</td>
--%>
<td class="sms_detail left"> <td class="sms_detail left">
<c:choose> <c:choose>
<c:when test="${empty result.smsTxt}"> <c:when test="${empty result.smsTxt}">
@ -613,7 +631,6 @@ function fn_updateSendRealTime(userId, msgGroupId){
</c:otherwise> </c:otherwise>
</c:choose> </c:choose>
</td> </td>
<td> <td>
<c:choose> <c:choose>
<c:when test="${result.msgType eq '4'}"> <c:when test="${result.msgType eq '4'}">
@ -627,30 +644,16 @@ function fn_updateSendRealTime(userId, msgGroupId){
</c:otherwise> </c:otherwise>
</c:choose> </c:choose>
</td> </td>
<%-- <td> <td>
<c:choose> <c:choose>
<c:when test="${result.resultCodeTxt eq 'S'}"> <c:when test="${result.sendKind eq 'A'}">
<fmt:formatNumber value="${result.totSPrice}" pattern="#,###" /> API
</c:when>
<c:when test="${result.sendKind eq 'H'}">
홈페이지
</c:when> </c:when>
<c:otherwise>
<fmt:formatNumber value="${result.totFWPrice}" pattern="#,###" />
</c:otherwise>
</c:choose> </c:choose>
</td> --%> </td>
<%-- <td>
<c:choose>
<c:when test="${result.resultCodeTxt eq 'S'}">
정상수신
</c:when>
<c:when test="${result.resultCodeTxt eq 'F'}">
수신오류
</c:when>
<c:otherwise>
결과대기
</c:otherwise>
</c:choose>
</td> --%>
<%--<td><c:out value="${result.agentCodeTxt}"/></td>--%>
<td> <td>
<c:choose> <c:choose>
<c:when test="${result.delayYn eq 'Y'}"> <c:when test="${result.delayYn eq 'Y'}">
@ -702,7 +705,7 @@ function fn_updateSendRealTime(userId, msgGroupId){
</tr> </tr>
</c:forEach> </c:forEach>
<c:if test="${empty resultList}"> <c:if test="${empty resultList}">
<tr><td colspan="11"><spring:message code="common.nodata.msg" /></td></tr> <tr><td colspan="12"><spring:message code="common.nodata.msg" /></td></tr>
</c:if> </c:if>
</tbody> </tbody>
</table> </table>

View File

@ -3721,6 +3721,7 @@ function kakaoATDelayCancel(msgGroupId){
<colgroup> <colgroup>
<col style="width:5%;"> <col style="width:5%;">
<col style="width:7%;"> <col style="width:7%;">
<col style="width:7%;">
<col style="width:9%;"> <col style="width:9%;">
<col style="width:13%;"> <col style="width:13%;">
<col style="width:15%;"> <col style="width:15%;">
@ -3733,6 +3734,7 @@ function kakaoATDelayCancel(msgGroupId){
<tr> <tr>
<th>번호</th> <th>번호</th>
<th>종류</th> <th>종류</th>
<th>방식</th>
<th>등록일시</th> <th>등록일시</th>
<th>전송일시</th> <th>전송일시</th>
<th>발신번호</th> <th>발신번호</th>
@ -3747,7 +3749,9 @@ function kakaoATDelayCancel(msgGroupId){
<c:when test="${not empty mjonMsgSentList}"> <c:when test="${not empty mjonMsgSentList}">
<c:forEach var="mjonMsgSentList" items="${mjonMsgSentList}" varStatus="status"> <c:forEach var="mjonMsgSentList" items="${mjonMsgSentList}" varStatus="status">
<tr> <tr>
<td><c:out value="${status.count}"/></td> <td>
<c:out value="${status.count}"/>
</td>
<td> <td>
<c:choose> <c:choose>
<c:when test="${mjonMsgSentList.msgType == '4'}"> <c:when test="${mjonMsgSentList.msgType == '4'}">
@ -3771,6 +3775,16 @@ function kakaoATDelayCancel(msgGroupId){
</c:otherwise> </c:otherwise>
</c:choose> </c:choose>
</td> </td>
<td>
<c:choose>
<c:when test="${mjonMsgSentList.sendKind == 'H'}">
WEB
</c:when>
<c:when test="${mjonMsgSentList.sendKind == 'A'}">
API
</c:when>
</c:choose>
</td>
<td> <td>
<c:choose> <c:choose>
<c:when test="${not empty mjonMsgSentList.regdate}"> <c:when test="${not empty mjonMsgSentList.regdate}">
@ -3898,7 +3912,7 @@ function kakaoATDelayCancel(msgGroupId){
</c:when> </c:when>
<c:otherwise> <c:otherwise>
<tr> <tr>
<td colspan="9">문자 발송 내역이 없습니다.</td> <td colspan="10">문자 발송 내역이 없습니다.</td>
</tr> </tr>
</c:otherwise> </c:otherwise>
</c:choose> </c:choose>
@ -3916,6 +3930,7 @@ function kakaoATDelayCancel(msgGroupId){
<colgroup> <colgroup>
<col style="width:5%;"> <col style="width:5%;">
<col style="width:7%;"> <col style="width:7%;">
<col style="width:7%;">
<col style="width:9%;"> <col style="width:9%;">
<col style="width:13%;"> <col style="width:13%;">
<col style="width:15%;"> <col style="width:15%;">
@ -3928,6 +3943,7 @@ function kakaoATDelayCancel(msgGroupId){
<tr> <tr>
<th>번호</th> <th>번호</th>
<th>종류</th> <th>종류</th>
<th>방식</th>
<th>등록일시</th> <th>등록일시</th>
<th>요청일시</th> <th>요청일시</th>
<th>발신번호</th> <th>발신번호</th>
@ -3966,6 +3982,16 @@ function kakaoATDelayCancel(msgGroupId){
</c:otherwise> </c:otherwise>
</c:choose> </c:choose>
</td> </td>
<td>
<c:choose>
<c:when test="${mjonMsgSentList.sendKind == 'H'}">
WEB
</c:when>
<c:when test="${mjonMsgSentList.sendKind == 'A'}">
API
</c:when>
</c:choose>
</td>
<td> <td>
<c:choose> <c:choose>
<c:when test="${not empty mjonMsgSentList.regdate}"> <c:when test="${not empty mjonMsgSentList.regdate}">
@ -4094,7 +4120,7 @@ function kakaoATDelayCancel(msgGroupId){
</c:when> </c:when>
<c:otherwise> <c:otherwise>
<tr> <tr>
<td colspan="9">예약 문자 내역이 없습니다.</td> <td colspan="10">예약 문자 내역이 없습니다.</td>
</tr> </tr>
</c:otherwise> </c:otherwise>
</c:choose> </c:choose>
@ -4116,6 +4142,7 @@ function kakaoATDelayCancel(msgGroupId){
<colgroup> <colgroup>
<col style="width:5%;"> <col style="width:5%;">
<col style="width:7%;"> <col style="width:7%;">
<col style="width:7%;">
<col style="width:13%;"> <col style="width:13%;">
<col style="width:14%;"> <col style="width:14%;">
<col style="width:15%;"> <col style="width:15%;">
@ -4128,6 +4155,7 @@ function kakaoATDelayCancel(msgGroupId){
<tr> <tr>
<th><input type="checkbox" name="checkDelayAll" id="checkAll" onclick="fnCheckAll();" /><label for="checkAll"></label></th> <th><input type="checkbox" name="checkDelayAll" id="checkAll" onclick="fnCheckAll();" /><label for="checkAll"></label></th>
<th>종류</th> <th>종류</th>
<th>방식</th>
<th>등록일시</th> <th>등록일시</th>
<th>전송일시</th> <th>전송일시</th>
<th>발신번호</th> <th>발신번호</th>
@ -4170,6 +4198,16 @@ function kakaoATDelayCancel(msgGroupId){
</c:otherwise> </c:otherwise>
</c:choose> </c:choose>
</td> </td>
<td>
<c:choose>
<c:when test="${mjonMsgDelaySentList.sendKind == 'H'}">
WEB
</c:when>
<c:when test="${mjonMsgDelaySentList.sendKind == 'A'}">
API
</c:when>
</c:choose>
</td>
<td> <td>
<c:choose> <c:choose>
<c:when test="${not empty mjonMsgDelaySentList.regdate}"> <c:when test="${not empty mjonMsgDelaySentList.regdate}">
@ -4293,7 +4331,7 @@ function kakaoATDelayCancel(msgGroupId){
</c:when> </c:when>
<c:otherwise> <c:otherwise>
<tr> <tr>
<td colspan="9">문자 지연 내역이 없습니다.</td> <td colspan="10">문자 지연 내역이 없습니다.</td>
</tr> </tr>
</c:otherwise> </c:otherwise>
</c:choose> </c:choose>