Merge branch 'wyh'
@fc5dd8f21b172e9ad7336e6ef8509851cd3aa9bd
--- src/main/java/itn/let/mjo/msg/service/MjonMsgVO.java
+++ src/main/java/itn/let/mjo/msg/service/MjonMsgVO.java
... | ... | @@ -167,6 +167,59 @@ |
| 167 | 167 |
|
| 168 | 168 |
private String sendKind; //문자전송 타입(H:홈페이지, A:API) |
| 169 | 169 |
|
| 170 |
+ private int aSuccessCount; // API 문자발송 성공건수 |
|
| 171 |
+ private int aSendCount; // API 문자 발송건수 |
|
| 172 |
+ |
|
| 173 |
+ private int totalSendCount; // 전체 문자발송 건수 |
|
| 174 |
+ private int totalSuccessCount; // 전체 문자발송 성공건수 |
|
| 175 |
+ |
|
| 176 |
+ private int rateTotalSuccessCount; // 전체 문자발송 성공율 |
|
| 177 |
+ private int rateSuccessCount; // 홈페이지 전송 성공율 |
|
| 178 |
+ private int rateApiSuccessCount; // API 전송 성공율 |
|
| 179 |
+ |
|
| 180 |
+ |
|
| 181 |
+ public int getRateSuccessCount() {
|
|
| 182 |
+ return rateSuccessCount; |
|
| 183 |
+ } |
|
| 184 |
+ public void setRateSuccessCount(int rateSuccessCount) {
|
|
| 185 |
+ this.rateSuccessCount = rateSuccessCount; |
|
| 186 |
+ } |
|
| 187 |
+ public int getRateApiSuccessCount() {
|
|
| 188 |
+ return rateApiSuccessCount; |
|
| 189 |
+ } |
|
| 190 |
+ public void setRateApiSuccessCount(int rateApiSuccessCount) {
|
|
| 191 |
+ this.rateApiSuccessCount = rateApiSuccessCount; |
|
| 192 |
+ } |
|
| 193 |
+ public int getTotalSendCount() {
|
|
| 194 |
+ return totalSendCount; |
|
| 195 |
+ } |
|
| 196 |
+ public void setTotalSendCount(int totalSendCount) {
|
|
| 197 |
+ this.totalSendCount = totalSendCount; |
|
| 198 |
+ } |
|
| 199 |
+ public int getTotalSuccessCount() {
|
|
| 200 |
+ return totalSuccessCount; |
|
| 201 |
+ } |
|
| 202 |
+ public void setTotalSuccessCount(int totalSuccessCount) {
|
|
| 203 |
+ this.totalSuccessCount = totalSuccessCount; |
|
| 204 |
+ } |
|
| 205 |
+ public int getRateTotalSuccessCount() {
|
|
| 206 |
+ return rateTotalSuccessCount; |
|
| 207 |
+ } |
|
| 208 |
+ public void setRateTotalSuccessCount(int rateTotalSuccessCount) {
|
|
| 209 |
+ this.rateTotalSuccessCount = rateTotalSuccessCount; |
|
| 210 |
+ } |
|
| 211 |
+ public int getaSuccessCount() {
|
|
| 212 |
+ return aSuccessCount; |
|
| 213 |
+ } |
|
| 214 |
+ public void setaSuccessCount(int aSuccessCount) {
|
|
| 215 |
+ this.aSuccessCount = aSuccessCount; |
|
| 216 |
+ } |
|
| 217 |
+ public int getaSendCount() {
|
|
| 218 |
+ return aSendCount; |
|
| 219 |
+ } |
|
| 220 |
+ public void setaSendCount(int aSendCount) {
|
|
| 221 |
+ this.aSendCount = aSendCount; |
|
| 222 |
+ } |
|
| 170 | 223 |
public String getSendKind() {
|
| 171 | 224 |
return sendKind; |
| 172 | 225 |
} |
--- src/main/java/itn/let/mjo/msg/web/MjonMsgController.java
+++ src/main/java/itn/let/mjo/msg/web/MjonMsgController.java
... | ... | @@ -4412,7 +4412,7 @@ |
| 4412 | 4412 |
|
| 4413 | 4413 |
if (resultList.size()>0) {
|
| 4414 | 4414 |
model.addAttribute("sttstDate", resultList.get(0).getRegistPnttm());
|
| 4415 |
- } |
|
| 4415 |
+ } |
|
| 4416 | 4416 |
}catch(Exception ex) {
|
| 4417 | 4417 |
ex.printStackTrace(); |
| 4418 | 4418 |
} |
--- src/main/java/itn/let/mjo/msgsent/service/MjonMsgSentVO.java
+++ src/main/java/itn/let/mjo/msgsent/service/MjonMsgSentVO.java
... | ... | @@ -70,6 +70,8 @@ |
| 70 | 70 |
|
| 71 | 71 |
private int successCnt; // 문자발송 성공건수 |
| 72 | 72 |
|
| 73 |
+ private String sendKind; //문자 전송 타입(H:홈페이지 A: API) |
|
| 74 |
+ |
|
| 73 | 75 |
private String msgKind; //문자종류(일반:N, 광고:A , 선거:C, 관리자:S, 이벤트:E) |
| 74 | 76 |
private String delayYn; //지연 문자 유무 |
| 75 | 77 |
private String delayCompleteYn; //지연문자 처리 완료 여부 |
... | ... | @@ -420,6 +422,10 @@ |
| 420 | 422 |
public void setDelayCompleteYn(String delayCompleteYn) {
|
| 421 | 423 |
this.delayCompleteYn = delayCompleteYn; |
| 422 | 424 |
} |
| 423 |
- |
|
| 424 |
- |
|
| 425 |
+ public String getSendKind() {
|
|
| 426 |
+ return sendKind; |
|
| 427 |
+ } |
|
| 428 |
+ public void setSendKind(String sendKind) {
|
|
| 429 |
+ this.sendKind = sendKind; |
|
| 430 |
+ } |
|
| 425 | 431 |
} |
--- src/main/java/itn/let/uss/umt/web/EgovUserManageController.java
+++ src/main/java/itn/let/uss/umt/web/EgovUserManageController.java
... | ... | @@ -1788,10 +1788,10 @@ |
| 1788 | 1788 |
paginationInfo.setTotalRecordCount(resultList.size() > 0 ? ((MjonMsgVO)resultList.get(0)).getTotCnt() : 0); |
| 1789 | 1789 |
model.addAttribute("paginationInfo", paginationInfo);
|
| 1790 | 1790 |
|
| 1791 |
- String msgGroupSCntSum = "0"; //정상수신 총 건수 합계 |
|
| 1792 |
- String totSPriceSum = "0"; //정상수신 총 금액 합계 |
|
| 1793 |
- String msgGroupFWCntSum = "0"; //실패대기 총 건수 합계 |
|
| 1794 |
- String totFWPriceSum = "0"; //실패대기 총 금액 합계 |
|
| 1791 |
+ String msgGroupSCntSum = "0"; //정상수신 총 건수 합계 |
|
| 1792 |
+ String totSPriceSum = "0"; //정상수신 총 금액 합계 |
|
| 1793 |
+ String msgGroupFWCntSum = "0"; //실패대기 총 건수 합계 |
|
| 1794 |
+ String totFWPriceSum = "0"; //실패대기 총 금액 합계 |
|
| 1795 | 1795 |
|
| 1796 | 1796 |
if(resultList.size() > 0) {
|
| 1797 | 1797 |
|
... | ... | @@ -1809,10 +1809,10 @@ |
| 1809 | 1809 |
|
| 1810 | 1810 |
|
| 1811 | 1811 |
//단문 건수 및 금액 변수 처리 |
| 1812 |
- String msgSmsGroupSCntSum = "0"; //정상수신 총 건수 합계 |
|
| 1813 |
- String totSmsSPriceSum = "0"; //정상수신 총 금액 합계 |
|
| 1814 |
- String msgSmsGroupFWCntSum = "0"; //실패대기 총 건수 합계 |
|
| 1815 |
- String totSmsFWPriceSum = "0"; //실패대기 총 금액 합계 |
|
| 1812 |
+ String msgSmsGroupSCntSum = "0"; //정상수신 총 건수 합계 |
|
| 1813 |
+ String totSmsSPriceSum = "0"; //정상수신 총 금액 합계 |
|
| 1814 |
+ String msgSmsGroupFWCntSum = "0"; //실패대기 총 건수 합계 |
|
| 1815 |
+ String totSmsFWPriceSum = "0"; //실패대기 총 금액 합계 |
|
| 1816 | 1816 |
|
| 1817 | 1817 |
if(resultSmsList.size() > 0) {
|
| 1818 | 1818 |
|
... | ... | @@ -1830,10 +1830,10 @@ |
| 1830 | 1830 |
|
| 1831 | 1831 |
|
| 1832 | 1832 |
//장문 건수 및 금액 변수 처리 |
| 1833 |
- String msgLmsGroupSCntSum = "0"; //정상수신 총 건수 합계 |
|
| 1834 |
- String totLmsSPriceSum = "0"; //정상수신 총 금액 합계 |
|
| 1835 |
- String msgLmsGroupFWCntSum = "0"; //실패대기 총 건수 합계 |
|
| 1836 |
- String totLmsFWPriceSum = "0"; //실패대기 총 금액 합계 |
|
| 1833 |
+ String msgLmsGroupSCntSum = "0"; //정상수신 총 건수 합계 |
|
| 1834 |
+ String totLmsSPriceSum = "0"; //정상수신 총 금액 합계 |
|
| 1835 |
+ String msgLmsGroupFWCntSum = "0"; //실패대기 총 건수 합계 |
|
| 1836 |
+ String totLmsFWPriceSum = "0"; //실패대기 총 금액 합계 |
|
| 1837 | 1837 |
|
| 1838 | 1838 |
if(resultLmsList.size() > 0) {
|
| 1839 | 1839 |
|
... | ... | @@ -1851,10 +1851,10 @@ |
| 1851 | 1851 |
|
| 1852 | 1852 |
|
| 1853 | 1853 |
//그림 건수 및 금액 변수 처리 |
| 1854 |
- String msgMmsGroupSCntSum = "0"; //정상수신 총 건수 합계 |
|
| 1855 |
- String totMmsSPriceSum = "0"; //정상수신 총 금액 합계 |
|
| 1856 |
- String msgMmsGroupFWCntSum = "0"; //실패대기 총 건수 합계 |
|
| 1857 |
- String totMmsFWPriceSum = "0"; //실패대기 총 금액 합계 |
|
| 1854 |
+ String msgMmsGroupSCntSum = "0"; //정상수신 총 건수 합계 |
|
| 1855 |
+ String totMmsSPriceSum = "0"; //정상수신 총 금액 합계 |
|
| 1856 |
+ String msgMmsGroupFWCntSum = "0"; //실패대기 총 건수 합계 |
|
| 1857 |
+ String totMmsFWPriceSum = "0"; //실패대기 총 금액 합계 |
|
| 1858 | 1858 |
|
| 1859 | 1859 |
if(resultMmsList.size() > 0) {
|
| 1860 | 1860 |
|
--- src/main/resources/egovframework/sqlmap/let/msg/MjonMsgData_SQL_mysql.xml
+++ src/main/resources/egovframework/sqlmap/let/msg/MjonMsgData_SQL_mysql.xml
... | ... | @@ -4451,6 +4451,7 @@ |
| 4451 | 4451 |
, msgGroupId |
| 4452 | 4452 |
, callFrom |
| 4453 | 4453 |
, callTo |
| 4454 |
+ , sendKind |
|
| 4454 | 4455 |
, smsTxt |
| 4455 | 4456 |
, fileCnt |
| 4456 | 4457 |
, msgType |
... | ... | @@ -4475,50 +4476,84 @@ |
| 4475 | 4476 |
, smiId |
| 4476 | 4477 |
, delayYn |
| 4477 | 4478 |
, delayCompleteYn |
| 4478 |
- ,( |
|
| 4479 |
- SELECT |
|
| 4480 |
- CONCAT( |
|
| 4481 |
- ( |
|
| 4482 |
- IF(B.FILE_PATH1 IS NOT NULL, (SELECT |
|
| 4483 |
- ATCH_FILE_ID |
|
| 4484 |
- FROM LETTNFILEDETAIL |
|
| 4485 |
- WHERE CONCAT(STRE_FILE_NM, '.', FILE_EXTSN) = CONCAT(SUBSTRING_INDEX(B.FILE_PATH1, '/', -1)) |
|
| 4486 |
- LIMIT 1), '') |
|
| 4487 |
- ) |
|
| 4488 |
- ,'^', |
|
| 4489 |
- ( |
|
| 4490 |
- IF(B.FILE_PATH2 IS NOT NULL, (SELECT |
|
| 4491 |
- ATCH_FILE_ID |
|
| 4492 |
- FROM LETTNFILEDETAIL |
|
| 4493 |
- WHERE CONCAT(STRE_FILE_NM, '.', FILE_EXTSN) = CONCAT(SUBSTRING_INDEX(B.FILE_PATH2, '/', -1)) |
|
| 4494 |
- LIMIT 1), '') |
|
| 4495 |
- ) |
|
| 4496 |
- ,'^', |
|
| 4497 |
- ( |
|
| 4498 |
- IF(B.FILE_PATH3 IS NOT NULL, (SELECT |
|
| 4499 |
- ATCH_FILE_ID |
|
| 4500 |
- FROM LETTNFILEDETAIL |
|
| 4501 |
- WHERE CONCAT(STRE_FILE_NM, '.', FILE_EXTSN) = CONCAT(SUBSTRING_INDEX(B.FILE_PATH3, '/', -1)) |
|
| 4502 |
- LIMIT 1), '') |
|
| 4503 |
- )) |
|
| 4504 |
- FROM |
|
| 4505 |
- MJ_MSG_DATA B |
|
| 4506 |
- WHERE |
|
| 4507 |
- B.MSG_GROUP_ID = msgGroupId |
|
| 4508 |
- LIMIT 1 |
|
| 4509 |
- ) AS atchFiles |
|
| 4479 |
+ ,(SELECT |
|
| 4480 |
+ CONCAT( |
|
| 4481 |
+ (IF(B.FILE_PATH1 IS NOT NULL |
|
| 4482 |
+ , (SELECT |
|
| 4483 |
+ ATCH_FILE_ID |
|
| 4484 |
+ FROM |
|
| 4485 |
+ LETTNFILEDETAIL |
|
| 4486 |
+ WHERE 1=1 |
|
| 4487 |
+ AND CONCAT(STRE_FILE_NM, '.', FILE_EXTSN) = CONCAT(SUBSTRING_INDEX(B.FILE_PATH1, '/', -1)) |
|
| 4488 |
+ LIMIT 1) |
|
| 4489 |
+ , '') |
|
| 4490 |
+ ) |
|
| 4491 |
+ , '^' |
|
| 4492 |
+ , (IF(B.FILE_PATH2 IS NOT NULL |
|
| 4493 |
+ , (SELECT |
|
| 4494 |
+ ATCH_FILE_ID |
|
| 4495 |
+ FROM |
|
| 4496 |
+ LETTNFILEDETAIL |
|
| 4497 |
+ WHERE 1=1 |
|
| 4498 |
+ AND CONCAT(STRE_FILE_NM, '.', FILE_EXTSN) = CONCAT(SUBSTRING_INDEX(B.FILE_PATH2, '/', -1)) |
|
| 4499 |
+ LIMIT 1) |
|
| 4500 |
+ , '') |
|
| 4501 |
+ ) |
|
| 4502 |
+ , '^' |
|
| 4503 |
+ , (IF(B.FILE_PATH3 IS NOT NULL |
|
| 4504 |
+ , (SELECT |
|
| 4505 |
+ ATCH_FILE_ID |
|
| 4506 |
+ FROM |
|
| 4507 |
+ LETTNFILEDETAIL |
|
| 4508 |
+ WHERE 1=1 |
|
| 4509 |
+ AND CONCAT(STRE_FILE_NM, '.', FILE_EXTSN) = CONCAT(SUBSTRING_INDEX(B.FILE_PATH3, '/', -1)) |
|
| 4510 |
+ LIMIT 1) |
|
| 4511 |
+ , '') |
|
| 4512 |
+ ) |
|
| 4513 |
+ ) |
|
| 4514 |
+ FROM |
|
| 4515 |
+ MJ_MSG_DATA B |
|
| 4516 |
+ WHERE 1=1 |
|
| 4517 |
+ AND B.MSG_GROUP_ID = msgGroupId |
|
| 4518 |
+ LIMIT 1 |
|
| 4519 |
+ ) AS atchFiles |
|
| 4510 | 4520 |
FROM |
| 4511 | 4521 |
(SELECT |
| 4512 |
- (SELECT count(1) |
|
| 4513 |
- FROM |
|
| 4514 |
- (SELECT |
|
| 4515 |
- (<include refid="MjonMsgSentDAO.selectAgentResultQuery_MD"/>) AS resultCodeTxt, |
|
| 4516 |
- MGD.MSG_GROUP_ID |
|
| 4517 |
- FROM MJ_MSG_GROUP_DATA MGD |
|
| 4522 |
+ (SELECT |
|
| 4523 |
+ count(1) |
|
| 4524 |
+ FROM |
|
| 4525 |
+ (SELECT |
|
| 4526 |
+ (<include refid="MjonMsgSentDAO.selectAgentResultQuery_MD"/>) AS resultCodeTxt |
|
| 4527 |
+ , MGD.MSG_GROUP_ID |
|
| 4528 |
+ FROM |
|
| 4529 |
+ MJ_MSG_GROUP_DATA MGD |
|
| 4518 | 4530 |
LEFT JOIN MJ_MSG_DATA MD |
| 4519 | 4531 |
ON MD.MSG_GROUP_ID = MGD.MSG_GROUP_ID |
| 4520 |
- WHERE MGD.USER_ID = #userId# |
|
| 4532 |
+ WHERE 1=1 |
|
| 4533 |
+ AND MGD.USER_ID = #userId# |
|
| 4521 | 4534 |
AND DATE_FORMAT(MGD.REQ_DATE, '%Y-%m-%d') BETWEEN #ntceBgnde# AND #ntceEndde# |
| 4535 |
+ |
|
| 4536 |
+ <isNotEmpty property="sendKind"> |
|
| 4537 |
+ <isEqual property="sendKind" compareValue="H"> |
|
| 4538 |
+ AND MGD.SEND_KIND = 'H' |
|
| 4539 |
+ </isEqual> |
|
| 4540 |
+ <isEqual property="sendKind" compareValue="A"> |
|
| 4541 |
+ AND MGD.SEND_KIND = 'A' |
|
| 4542 |
+ </isEqual> |
|
| 4543 |
+ </isNotEmpty> |
|
| 4544 |
+ |
|
| 4545 |
+ <isNotEmpty property="searchKeyword"> |
|
| 4546 |
+ <isEqual prepend="AND" property="searchCondition" compareValue=""> |
|
| 4547 |
+ ( MD.CALL_FROM LIKE CONCAT('%' , #searchKeyword#, '%') OR MD.SMS_TXT LIKE CONCAT('%' , #searchKeyword#, '%') )
|
|
| 4548 |
+ </isEqual> |
|
| 4549 |
+ <isEqual prepend="AND" property="searchCondition" compareValue="1"> |
|
| 4550 |
+ MD.CALL_FROM LIKE CONCAT('%' , #searchKeyword#, '%')
|
|
| 4551 |
+ </isEqual> |
|
| 4552 |
+ <isEqual prepend="AND" property="searchCondition" compareValue="2"> |
|
| 4553 |
+ MD.SMS_TXT LIKE CONCAT('%' , #searchKeyword#, '%')
|
|
| 4554 |
+ </isEqual> |
|
| 4555 |
+ </isNotEmpty> |
|
| 4556 |
+ |
|
| 4522 | 4557 |
<isNotEmpty property="reserveType"> |
| 4523 | 4558 |
<isEqual property="reserveType" compareValue="D"> |
| 4524 | 4559 |
<![CDATA[ |
... | ... | @@ -4533,20 +4568,24 @@ |
| 4533 | 4568 |
]]> |
| 4534 | 4569 |
</isEqual> |
| 4535 | 4570 |
</isNotEmpty> |
| 4536 |
- ) sub2 |
|
| 4537 |
- WHERE sub2.resultCodeTxt = 'S' |
|
| 4538 |
- AND sub2.MSG_GROUP_ID = IN1.MSG_GROUP_ID |
|
| 4539 |
- ) AS msgGroupSCnt |
|
| 4571 |
+ ) sub2 |
|
| 4572 |
+ WHERE 1=1 |
|
| 4573 |
+ AND sub2.resultCodeTxt = 'S' |
|
| 4574 |
+ AND sub2.MSG_GROUP_ID = IN1.MSG_GROUP_ID |
|
| 4575 |
+ ) AS msgGroupSCnt |
|
| 4540 | 4576 |
, COUNT(MSG_GROUP_ID) * EACH_PRICE AS totSPrice |
| 4541 |
- , (SELECT count(1) |
|
| 4542 |
- FROM |
|
| 4577 |
+ , (SELECT |
|
| 4578 |
+ count(1) |
|
| 4579 |
+ FROM |
|
| 4543 | 4580 |
(SELECT |
| 4544 |
- (<include refid="MjonMsgSentDAO.selectAgentResultQuery_MD"/>) AS resultCodeTxt, |
|
| 4545 |
- MGD.MSG_GROUP_ID |
|
| 4546 |
- FROM MJ_MSG_GROUP_DATA MGD |
|
| 4581 |
+ (<include refid="MjonMsgSentDAO.selectAgentResultQuery_MD"/>) AS resultCodeTxt |
|
| 4582 |
+ , MGD.MSG_GROUP_ID |
|
| 4583 |
+ FROM |
|
| 4584 |
+ MJ_MSG_GROUP_DATA MGD |
|
| 4547 | 4585 |
LEFT JOIN MJ_MSG_DATA MD |
| 4548 |
- ON MD.MSG_GROUP_ID = MGD.MSG_GROUP_ID |
|
| 4549 |
- WHERE MGD.USER_ID = #userId# |
|
| 4586 |
+ ON MD.MSG_GROUP_ID = MGD.MSG_GROUP_ID |
|
| 4587 |
+ WHERE 1=1 |
|
| 4588 |
+ AND MGD.USER_ID = #userId# |
|
| 4550 | 4589 |
AND DATE_FORMAT(MGD.REQ_DATE, '%Y-%m-%d') BETWEEN #ntceBgnde# AND #ntceEndde# |
| 4551 | 4590 |
<isNotEmpty property="reserveType"> |
| 4552 | 4591 |
<isEqual property="reserveType" compareValue="D"> |
... | ... | @@ -4562,15 +4601,17 @@ |
| 4562 | 4601 |
]]> |
| 4563 | 4602 |
</isEqual> |
| 4564 | 4603 |
</isNotEmpty> |
| 4565 |
- ) sub2 |
|
| 4566 |
- WHERE <![CDATA[ sub2.resultCodeTxt <> 'S' ]]> |
|
| 4567 |
- AND sub2.MSG_GROUP_ID = IN1.MSG_GROUP_ID |
|
| 4604 |
+ ) sub2 |
|
| 4605 |
+ WHERE 1=1 |
|
| 4606 |
+ AND <![CDATA[ sub2.resultCodeTxt <> 'S' ]]> |
|
| 4607 |
+ AND sub2.MSG_GROUP_ID = IN1.MSG_GROUP_ID |
|
| 4568 | 4608 |
) AS msgGroupFWCnt |
| 4569 | 4609 |
, '0' AS totFWPrice |
| 4570 | 4610 |
, MSG_GROUP_ID AS msgGroupId |
| 4571 | 4611 |
, USER_ID AS userId |
| 4572 | 4612 |
, CALL_FROM AS callFrom |
| 4573 | 4613 |
, CALL_TO AS callTo |
| 4614 |
+ , SEND_KIND AS sendKind |
|
| 4574 | 4615 |
, SMS_TXT AS smsTxt |
| 4575 | 4616 |
, FILE_CNT AS fileCnt |
| 4576 | 4617 |
, MSG_TYPE AS msgType |
... | ... | @@ -4601,6 +4642,7 @@ |
| 4601 | 4642 |
, MGD.USER_ID |
| 4602 | 4643 |
, MGD.CALL_FROM |
| 4603 | 4644 |
, MD.CALL_TO |
| 4645 |
+ , MGD.SEND_KIND |
|
| 4604 | 4646 |
, MGD.SMS_TXT |
| 4605 | 4647 |
, MGD.FILE_CNT |
| 4606 | 4648 |
, MD.MSG_TYPE |
... | ... | @@ -4657,6 +4699,26 @@ |
| 4657 | 4699 |
</isEqual> |
| 4658 | 4700 |
AND DATE_FORMAT(MGD.REQ_DATE, '%Y-%m-%d') BETWEEN #ntceBgnde# AND #ntceEndde# |
| 4659 | 4701 |
|
| 4702 |
+ <isNotEmpty property="sendKind"> |
|
| 4703 |
+ <isEqual property="sendKind" compareValue="H"> |
|
| 4704 |
+ AND MGD.SEND_KIND = 'H' |
|
| 4705 |
+ </isEqual> |
|
| 4706 |
+ <isEqual property="sendKind" compareValue="A"> |
|
| 4707 |
+ AND MGD.SEND_KIND = 'A' |
|
| 4708 |
+ </isEqual> |
|
| 4709 |
+ </isNotEmpty> |
|
| 4710 |
+ |
|
| 4711 |
+ <isNotEmpty property="searchKeyword"> |
|
| 4712 |
+ <isEqual prepend="AND" property="searchCondition" compareValue=""> |
|
| 4713 |
+ ( MD.CALL_FROM LIKE CONCAT('%' , #searchKeyword#, '%') OR MD.SMS_TXT LIKE CONCAT('%' , #searchKeyword#, '%') )
|
|
| 4714 |
+ </isEqual> |
|
| 4715 |
+ <isEqual prepend="AND" property="searchCondition" compareValue="1"> |
|
| 4716 |
+ MD.CALL_FROM LIKE CONCAT('%' , #searchKeyword#, '%')
|
|
| 4717 |
+ </isEqual> |
|
| 4718 |
+ <isEqual prepend="AND" property="searchCondition" compareValue="2"> |
|
| 4719 |
+ MD.SMS_TXT LIKE CONCAT('%' , #searchKeyword#, '%')
|
|
| 4720 |
+ </isEqual> |
|
| 4721 |
+ </isNotEmpty> |
|
| 4660 | 4722 |
<isNotEmpty property="reserveType"> |
| 4661 | 4723 |
<isEqual property="reserveType" compareValue="D"> |
| 4662 | 4724 |
<![CDATA[ |
... | ... | @@ -4670,18 +4732,18 @@ |
| 4670 | 4732 |
AND MGD.RESERVE_YN = 'Y' |
| 4671 | 4733 |
]]> |
| 4672 | 4734 |
/**30분 지연이 아니거나 지연 처리가 완료된 건들 불러오기*/ |
| 4673 |
- AND |
|
| 4674 |
- ( |
|
| 4675 |
- ( |
|
| 4676 |
- MGD.DELAY_YN = 'N' |
|
| 4677 |
- AND MGD.DELAY_COMPLETE_YN = 'N' |
|
| 4678 |
- ) |
|
| 4679 |
- OR |
|
| 4680 |
- ( |
|
| 4681 |
- MGD.DELAY_YN = 'Y' |
|
| 4682 |
- AND MGD.DELAY_COMPLETE_YN = 'Y' |
|
| 4683 |
- ) |
|
| 4684 |
- ) |
|
| 4735 |
+ AND |
|
| 4736 |
+ ( |
|
| 4737 |
+ ( |
|
| 4738 |
+ MGD.DELAY_YN = 'N' |
|
| 4739 |
+ AND MGD.DELAY_COMPLETE_YN = 'N' |
|
| 4740 |
+ ) |
|
| 4741 |
+ OR |
|
| 4742 |
+ ( |
|
| 4743 |
+ MGD.DELAY_YN = 'Y' |
|
| 4744 |
+ AND MGD.DELAY_COMPLETE_YN = 'Y' |
|
| 4745 |
+ ) |
|
| 4746 |
+ ) |
|
| 4685 | 4747 |
</isEqual> |
| 4686 | 4748 |
</isNotEmpty> |
| 4687 | 4749 |
|
... | ... | @@ -4803,8 +4865,8 @@ |
| 4803 | 4865 |
ON MD.MSG_GROUP_ID = MGD.MSG_GROUP_ID |
| 4804 | 4866 |
LEFT JOIN (SELECT CODE_NM ,CODE , CODE_DC FROM LETTCCMMNDETAILCODE WHERE USE_AT = 'Y' AND CODE_ID = 'ITN019' )B |
| 4805 | 4867 |
ON MD.AGENT_CODE = B.CODE |
| 4806 |
- WHERE |
|
| 4807 |
- MGD.USER_ID = #userId# |
|
| 4868 |
+ WHERE 1=1 |
|
| 4869 |
+ AND MGD.USER_ID = #userId# |
|
| 4808 | 4870 |
AND MGD.MSG_TYPE IN (4, 6) |
| 4809 | 4871 |
<isNotEmpty property="msgType"> |
| 4810 | 4872 |
AND MGD.MSG_TYPE = #msgType# |
... | ... | @@ -4816,6 +4878,28 @@ |
| 4816 | 4878 |
AND MGD.FILE_CNT = 0 |
| 4817 | 4879 |
</isEqual> |
| 4818 | 4880 |
AND DATE_FORMAT(MGD.REQ_DATE, '%Y-%m-%d') BETWEEN #ntceBgnde# AND #ntceEndde# |
| 4881 |
+ |
|
| 4882 |
+ <isNotEmpty property="sendKind"> |
|
| 4883 |
+ <isEqual property="sendKind" compareValue="H"> |
|
| 4884 |
+ AND MGD.SEND_KIND = 'H' |
|
| 4885 |
+ </isEqual> |
|
| 4886 |
+ <isEqual property="sendKind" compareValue="A"> |
|
| 4887 |
+ AND MGD.SEND_KIND = 'A' |
|
| 4888 |
+ </isEqual> |
|
| 4889 |
+ </isNotEmpty> |
|
| 4890 |
+ |
|
| 4891 |
+ <isNotEmpty property="searchKeyword"> |
|
| 4892 |
+ <isEqual prepend="AND" property="searchCondition" compareValue=""> |
|
| 4893 |
+ ( MD.CALL_FROM LIKE CONCAT('%' , #searchKeyword#, '%') OR MD.SMS_TXT LIKE CONCAT('%' , #searchKeyword#, '%') )
|
|
| 4894 |
+ </isEqual> |
|
| 4895 |
+ <isEqual prepend="AND" property="searchCondition" compareValue="1"> |
|
| 4896 |
+ MD.CALL_FROM LIKE CONCAT('%' , #searchKeyword#, '%')
|
|
| 4897 |
+ </isEqual> |
|
| 4898 |
+ <isEqual prepend="AND" property="searchCondition" compareValue="2"> |
|
| 4899 |
+ MD.SMS_TXT LIKE CONCAT('%' , #searchKeyword#, '%')
|
|
| 4900 |
+ </isEqual> |
|
| 4901 |
+ </isNotEmpty> |
|
| 4902 |
+ |
|
| 4819 | 4903 |
<isNotEmpty property="reserveType"> |
| 4820 | 4904 |
<isEqual property="reserveType" compareValue="D"> |
| 4821 | 4905 |
<![CDATA[ |
... | ... | @@ -4924,6 +5008,27 @@ |
| 4924 | 5008 |
</isEqual> |
| 4925 | 5009 |
AND DATE_FORMAT(MGD.REQ_DATE, '%Y-%m-%d') BETWEEN #ntceBgnde# AND #ntceEndde# |
| 4926 | 5010 |
|
| 5011 |
+ <isNotEmpty property="sendKind"> |
|
| 5012 |
+ <isEqual property="sendKind" compareValue="H"> |
|
| 5013 |
+ AND MGD.SEND_KIND = 'H' |
|
| 5014 |
+ </isEqual> |
|
| 5015 |
+ <isEqual property="sendKind" compareValue="A"> |
|
| 5016 |
+ AND MGD.SEND_KIND = 'A' |
|
| 5017 |
+ </isEqual> |
|
| 5018 |
+ </isNotEmpty> |
|
| 5019 |
+ |
|
| 5020 |
+ <isNotEmpty property="searchKeyword"> |
|
| 5021 |
+ <isEqual prepend="AND" property="searchCondition" compareValue=""> |
|
| 5022 |
+ ( MD.CALL_FROM LIKE CONCAT('%' , #searchKeyword#, '%') OR MD.SMS_TXT LIKE CONCAT('%' , #searchKeyword#, '%') )
|
|
| 5023 |
+ </isEqual> |
|
| 5024 |
+ <isEqual prepend="AND" property="searchCondition" compareValue="1"> |
|
| 5025 |
+ MD.CALL_FROM LIKE CONCAT('%' , #searchKeyword#, '%')
|
|
| 5026 |
+ </isEqual> |
|
| 5027 |
+ <isEqual prepend="AND" property="searchCondition" compareValue="2"> |
|
| 5028 |
+ MD.SMS_TXT LIKE CONCAT('%' , #searchKeyword#, '%')
|
|
| 5029 |
+ </isEqual> |
|
| 5030 |
+ </isNotEmpty> |
|
| 5031 |
+ |
|
| 4927 | 5032 |
<isNotEmpty property="reserveType"> |
| 4928 | 5033 |
<isEqual property="reserveType" compareValue="D"> |
| 4929 | 5034 |
<![CDATA[ |
... | ... | @@ -5017,25 +5122,47 @@ |
| 5017 | 5122 |
<!-- 일별 문자발송 건수 --> |
| 5018 | 5123 |
<select id="mjonMsgDAO.selectMsgDayChart_230125" parameterClass="mjonMsgVO" resultClass="mjonMsgVO"> |
| 5019 | 5124 |
|
| 5020 |
- SELECT a.SEND_DATE AS regDate |
|
| 5021 |
- , a.send_cnt AS sendCount |
|
| 5022 |
- , a.success_cnt AS successCount |
|
| 5023 |
- , DATE_FORMAT(a.regist_pnttm, '%H:%i:%s') AS registPnttm |
|
| 5024 |
- /* |
|
| 5025 |
- , a.regist_pnttm AS registPnttm |
|
| 5026 |
- */ |
|
| 5027 |
- , COUNT(a.SEND_DATE) OVER() AS totCnt /** 전체 건수 */ |
|
| 5028 |
- FROM mj_sttst_msg a |
|
| 5029 |
- WHERE 1=1 |
|
| 5030 |
- AND <![CDATA[ a.send_date <= DATE_FORMAT(NOW(), '%Y-%m-%d') ]]> |
|
| 5125 |
+ SELECT |
|
| 5126 |
+ a.SEND_DATE AS regDate |
|
| 5127 |
+ , IFNULL(a.send_cnt, 0) AS sendCount |
|
| 5128 |
+ , IFNULL(a.API_SEND_CNT, 0) AS aSendCount |
|
| 5129 |
+ , IFNULL(a.send_cnt, 0) + IFNULL(a.API_SEND_CNT, 0) AS totalSendCount |
|
| 5130 |
+ |
|
| 5131 |
+ , IFNULL(a.success_cnt, 0) AS successCount |
|
| 5132 |
+ , IFNULL(a.API_SUCCESS_CNT, 0) AS aSuccessCount |
|
| 5133 |
+ , IFNULL(a.success_cnt, 0) + IFNULL(a.API_SUCCESS_CNT, 0) AS totalSuccessCount |
|
| 5031 | 5134 |
|
| 5032 |
- <isNotEmpty property="ntceBgnde"> |
|
| 5033 |
- AND <![CDATA[ a.send_date >= #ntceBgnde# ]]> |
|
| 5034 |
- </isNotEmpty> |
|
| 5035 |
- <isNotEmpty property="ntceEndde"> |
|
| 5135 |
+ , IFNULL(ROUND(((IFNULL(a.success_cnt, 0) + IFNULL(a.API_SUCCESS_CNT, 0)) / (IFNULL(a.send_cnt, 0) + IFNULL(a.API_SEND_CNT, 0))) * 100), 0) AS rateTotalSuccessCount |
|
| 5136 |
+ , IFNULL(ROUND((a.success_cnt / a.send_cnt ) * 100), 0) AS rateSuccessCount |
|
| 5137 |
+ , IFNULL(ROUND((a.API_SUCCESS_CNT / a.API_SEND_CNT ) * 100), 0) AS rateApiSuccessCount |
|
| 5138 |
+ |
|
| 5139 |
+ , DATE_FORMAT(a.regist_pnttm, '%H:%i:%s') AS registPnttm |
|
| 5140 |
+ , COUNT(a.SEND_DATE) OVER() AS totCnt /** 전체 건수 */ |
|
| 5141 |
+ FROM |
|
| 5142 |
+ mj_sttst_msg a |
|
| 5143 |
+ WHERE 1=1 |
|
| 5144 |
+ AND <![CDATA[ a.send_date <= DATE_FORMAT(NOW(), '%Y-%m-%d') ]]> |
|
| 5145 |
+ |
|
| 5146 |
+ <isNotEmpty property="ntceBgnde"> |
|
| 5147 |
+ AND <![CDATA[ a.send_date >= #ntceBgnde# ]]> |
|
| 5148 |
+ </isNotEmpty> |
|
| 5149 |
+ |
|
| 5150 |
+ <isNotEmpty property="ntceEndde"> |
|
| 5036 | 5151 |
AND <![CDATA[ a.send_date <= #ntceEndde# ]]> |
| 5037 |
- </isNotEmpty> |
|
| 5038 |
- |
|
| 5152 |
+ </isNotEmpty> |
|
| 5153 |
+ |
|
| 5154 |
+ <isNotEmpty property="sendKind"> |
|
| 5155 |
+ <isEqual property="sendKind" compareValue="H"> |
|
| 5156 |
+ AND a.send_cnt != 0 |
|
| 5157 |
+ </isEqual> |
|
| 5158 |
+ <isEqual property="sendKind" compareValue="A"> |
|
| 5159 |
+ AND a.API_SEND_CNT != 0 |
|
| 5160 |
+ </isEqual> |
|
| 5161 |
+ </isNotEmpty> |
|
| 5162 |
+ <isEmpty property="sendKind"> |
|
| 5163 |
+ AND (a.send_cnt != 0 || a.API_SEND_CNT != 0) |
|
| 5164 |
+ </isEmpty> |
|
| 5165 |
+ |
|
| 5039 | 5166 |
ORDER BY a.SEND_DATE DESC |
| 5040 | 5167 |
LIMIT #recordCountPerPage# OFFSET #firstIndex# |
| 5041 | 5168 |
</select> |
... | ... | @@ -5085,16 +5212,29 @@ |
| 5085 | 5212 |
|
| 5086 | 5213 |
<!-- 월별 문자발송 건수 --> |
| 5087 | 5214 |
<select id="mjonMsgDAO.selectMsgMonthChart_230125" parameterClass="mjonMsgVO" resultClass="mjonMsgVO"> |
| 5088 |
- SELECT substring(a.send_date,1,7) AS regDate |
|
| 5089 |
- , sum(a.send_cnt) AS sendCount |
|
| 5090 |
- , sum(a.success_cnt) AS successCount |
|
| 5215 |
+ SELECT |
|
| 5216 |
+ substring(a.send_date,1,7) AS regDate |
|
| 5217 |
+ |
|
| 5218 |
+ , IFNULL(sum(a.send_cnt), 0) AS sendCount |
|
| 5219 |
+ , IFNULL(sum(a.API_SEND_CNT), 0) AS aSendCount |
|
| 5220 |
+ , IFNULL(sum(a.send_cnt), 0) + IFNULL(sum(a.API_SEND_CNT), 0) AS totalSendCount |
|
| 5221 |
+ |
|
| 5222 |
+ , IFNULL(sum(a.success_cnt), 0) AS successCount |
|
| 5223 |
+ , IFNULL(sum(a.API_SUCCESS_CNT), 0) AS aSuccessCount |
|
| 5224 |
+ , IFNULL(sum(a.success_cnt), 0) + IFNULL(sum(a.API_SUCCESS_CNT), 0) AS totalSuccessCount |
|
| 5225 |
+ |
|
| 5226 |
+ , IFNULL(ROUND((IFNULL(sum(a.success_cnt), 0) / IFNULL(sum(a.send_cnt), 0)) * 100), 0) AS rateSuccessCount |
|
| 5227 |
+ , IFNULL(ROUND((IFNULL(sum(a.API_SUCCESS_CNT), 0) / IFNULL(sum(a.API_SEND_CNT), 0)) * 100), 0) AS rateApiSuccessCount |
|
| 5228 |
+ , IFNULL(ROUND((IFNULL(sum(a.success_cnt), 0) + IFNULL(sum(a.API_SUCCESS_CNT), 0)) / (IFNULL(sum(a.send_cnt), 0) + IFNULL(sum(a.API_SEND_CNT), 0)) * 100), 0) AS rateTotalSuccessCount |
|
| 5229 |
+ |
|
| 5230 |
+ |
|
| 5091 | 5231 |
, max(DATE_FORMAT(a.regist_pnttm, '%H:%i:%s')) AS registPnttm |
| 5092 |
- FROM mj_sttst_msg a |
|
| 5232 |
+ FROM |
|
| 5233 |
+ mj_sttst_msg a |
|
| 5093 | 5234 |
WHERE 1=1 |
| 5094 | 5235 |
AND a.send_date like concat(#ntceBgnde#,'%') |
| 5095 | 5236 |
AND <![CDATA[ a.send_date <= DATE_FORMAT(NOW(), '%Y-%m-%d') ]]> |
| 5096 |
- |
|
| 5097 |
- group by substring(a.send_date,1,7) |
|
| 5237 |
+ group by substring(a.send_date,1,7) |
|
| 5098 | 5238 |
order by send_date desc |
| 5099 | 5239 |
|
| 5100 | 5240 |
</select> |
--- src/main/resources/egovframework/sqlmap/let/sttst/MjonSttstData_SQL_mysql.xml
+++ src/main/resources/egovframework/sqlmap/let/sttst/MjonSttstData_SQL_mysql.xml
... | ... | @@ -8,176 +8,251 @@ |
| 8 | 8 |
<typeAlias alias="mjonMsgVO" type="itn.let.mjo.msg.service.MjonMsgVO"/> |
| 9 | 9 |
|
| 10 | 10 |
<insert id="mjonSttst.insertMjSttstMsgBulk" parameterClass="mjonMsgVO"> |
| 11 |
- INSERT INTO mj_sttst_msg |
|
| 12 |
- (send_date, send_cnt, success_cnt, regist_pnttm) |
|
| 11 |
+ INSERT INTO MJ_STTST_MSG |
|
| 12 |
+ ( |
|
| 13 |
+ send_date |
|
| 14 |
+ , send_cnt |
|
| 15 |
+ , success_cnt |
|
| 16 |
+ , API_SEND_CNT |
|
| 17 |
+ , API_SUCCESS_CNT |
|
| 18 |
+ , regist_pnttm |
|
| 19 |
+ ) |
|
| 13 | 20 |
|
| 14 |
- select aa.regDate |
|
| 15 |
- , aa.sendCount |
|
| 16 |
- , aa.successCount |
|
| 21 |
+ SELECT |
|
| 22 |
+ aa.regDate |
|
| 23 |
+ , aa.hSendCount |
|
| 24 |
+ , aa.hSuccessCount |
|
| 25 |
+ , aa.aSendCount |
|
| 26 |
+ , aa.aSuccessCount |
|
| 17 | 27 |
, now() |
| 18 |
- |
|
| 19 |
- from ( |
|
| 20 |
- SELECT |
|
| 21 |
- M2.regDate , |
|
| 22 |
- SUM(M2.sendCount) AS sendCount , |
|
| 23 |
- SUM(M2.successCount) AS successCount |
|
| 24 |
- |
|
| 25 |
- FROM ( SELECT |
|
| 26 |
- M.REQ_DATE AS regDate |
|
| 27 |
- /*발송일*/ |
|
| 28 |
- |
|
| 29 |
- , IFNULL(M.MSG_GROUP_CNT, 0) AS sendCount |
|
| 30 |
- /*발송건수*/ |
|
| 31 |
- |
|
| 32 |
- , MSG_GROUP_ID |
|
| 33 |
- |
|
| 34 |
- , |
|
| 35 |
- (SELECT COUNT(0) |
|
| 36 |
- FROM MJ_MSG_DATA A |
|
| 37 |
- WHERE A.USER_ID NOT IN ('hftest',
|
|
| 38 |
- 'itntest', |
|
| 39 |
- 'imotest', |
|
| 40 |
- 'itntestBatch') |
|
| 41 |
- AND A.RESERVE_C_YN = 'N' |
|
| 42 |
- AND A.MSG_GROUP_ID = M.MSG_GROUP_ID |
|
| 43 |
- AND (CASE |
|
| 44 |
- WHEN A.AGENT_CODE = '01' AND (A.RSLT_CODE = '100' AND (A.RSLT_CODE2 = '0')) |
|
| 45 |
- THEN 'S' |
|
| 46 |
- WHEN A.AGENT_CODE = '02' AND (A.RSLT_CODE = '0') |
|
| 47 |
- THEN 'S' |
|
| 48 |
- WHEN A.AGENT_CODE = '03' AND (A.RSLT_CODE = '100' OR A.RSLT_CODE = '101' OR A.RSLT_CODE = '110' OR A.RSLT_CODE = '800') |
|
| 49 |
- THEN 'S' |
|
| 50 |
- WHEN A.AGENT_CODE = '04' AND (A.RSLT_CODE = '4100' OR A.RSLT_CODE = '6600') |
|
| 51 |
- THEN 'S' |
|
| 52 |
- WHEN A.AGENT_CODE = '05' AND (A.RSLT_CODE = '1000' OR A.RSLT_CODE = '1001') |
|
| 53 |
- THEN 'S' |
|
| 54 |
- WHEN A.AGENT_CODE = '07' AND (A.RSLT_CODE = '6' OR A.RSLT_CODE = '1000') |
|
| 55 |
- THEN 'S' |
|
| 56 |
- WHEN A.AGENT_CODE = '08' AND (A.RSLT_CODE = '1000' OR A.RSLT_CODE = '1001') |
|
| 57 |
- THEN 'S' |
|
| 58 |
- WHEN A.AGENT_CODE = '09' AND (A.RSLT_CODE = '1000' OR A.RSLT_CODE = '1001') |
|
| 59 |
- THEN 'S' |
|
| 60 |
- WHEN ( |
|
| 61 |
- A.RSLT_CODE IS NULL |
|
| 62 |
- AND A.RSLT_CODE2 IS NULL |
|
| 63 |
- AND A.SENT_DATE IS NULL |
|
| 64 |
- AND A.RSLT_DATE IS NULL |
|
| 65 |
- ) |
|
| 66 |
- THEN 'W' |
|
| 67 |
- ELSE 'F' |
|
| 68 |
- END ) = 'S' |
|
| 69 |
- ) |
|
| 70 |
- AS successCount |
|
| 71 |
- /*성공건수*/ |
|
| 72 |
- |
|
| 73 |
- FROM ( SELECT DATE_FORMAT(P.REQ_DATE, '%Y-%m-%d') AS REQ_DATE , |
|
| 74 |
- SUM(P.MSG_GROUP_CNT) AS MSG_GROUP_CNT , |
|
| 75 |
- P.MSG_GROUP_ID |
|
| 76 |
- FROM MJ_MSG_GROUP_DATA P |
|
| 77 |
- WHERE USER_ID NOT IN ('hftest',
|
|
| 78 |
- 'itntest', |
|
| 79 |
- 'imotest', |
|
| 80 |
- 'itntestBatch') |
|
| 81 |
- AND P.RESERVE_C_YN = 'N' |
|
| 82 |
- AND P.req_date > DATE_ADD(now(), interval -14 day) |
|
| 83 |
- GROUP BY P.MSG_GROUP_ID |
|
| 84 |
- ) |
|
| 85 |
- M |
|
| 86 |
- ) |
|
| 87 |
- M2 |
|
| 88 |
- GROUP BY M2.regDate |
|
| 89 |
- )aa |
|
| 90 |
- on DUPLICATE KEY UPDATE |
|
| 91 |
- send_cnt=aa.sendCount |
|
| 92 |
- , success_cnt=aa.successCount |
|
| 93 |
- , regist_pnttm=now() |
|
| 94 |
- |
|
| 28 |
+ FROM( |
|
| 29 |
+ SELECT |
|
| 30 |
+ M2.regDate |
|
| 31 |
+ , SUM(M2.hSendCount) AS hSendCount |
|
| 32 |
+ , SUM(M2.hSuccessCount) AS hSuccessCount |
|
| 33 |
+ , SUM(M2.aSendCount) AS aSendCount |
|
| 34 |
+ , SUM(M2.aSuccessCount) AS aSuccessCount |
|
| 35 |
+ |
|
| 36 |
+ FROM( |
|
| 37 |
+ SELECT |
|
| 38 |
+ M.REQ_DATE AS regDate /*발송일*/ |
|
| 39 |
+ , IFNULL(M.MSG_GROUP_CNT, 0) AS sendCount /*발송건수*/ |
|
| 40 |
+ , M.aSendCount /*API 발송건수*/ |
|
| 41 |
+ , M.hSendCount /*홈페이지 발송건수*/ |
|
| 42 |
+ , MSG_GROUP_ID |
|
| 43 |
+ , (SELECT |
|
| 44 |
+ COUNT(0) |
|
| 45 |
+ FROM |
|
| 46 |
+ MJ_MSG_DATA A |
|
| 47 |
+ WHERE 1=1 |
|
| 48 |
+ AND A.USER_ID NOT IN ('hftest','itntest','imotest','itntestBatch')
|
|
| 49 |
+ AND A.RESERVE_C_YN = 'N' |
|
| 50 |
+ AND A.MSG_GROUP_ID = M.MSG_GROUP_ID |
|
| 51 |
+ AND M.SEND_KIND = 'H' |
|
| 52 |
+ AND ( |
|
| 53 |
+ CASE |
|
| 54 |
+ WHEN A.AGENT_CODE = '01' AND (A.RSLT_CODE = '100' AND (A.RSLT_CODE2 = '0')) |
|
| 55 |
+ THEN 'S' |
|
| 56 |
+ WHEN A.AGENT_CODE = '02' AND (A.RSLT_CODE = '0') |
|
| 57 |
+ THEN 'S' |
|
| 58 |
+ WHEN A.AGENT_CODE = '03' AND (A.RSLT_CODE = '100' OR A.RSLT_CODE = '101' OR A.RSLT_CODE = '110' OR A.RSLT_CODE = '800') |
|
| 59 |
+ THEN 'S' |
|
| 60 |
+ WHEN A.AGENT_CODE = '04' AND (A.RSLT_CODE = '4100' OR A.RSLT_CODE = '6600') |
|
| 61 |
+ THEN 'S' |
|
| 62 |
+ WHEN A.AGENT_CODE = '05' AND (A.RSLT_CODE = '1000' OR A.RSLT_CODE = '1001') |
|
| 63 |
+ THEN 'S' |
|
| 64 |
+ WHEN A.AGENT_CODE = '07' AND (A.RSLT_CODE = '6' OR A.RSLT_CODE = '1000') |
|
| 65 |
+ THEN 'S' |
|
| 66 |
+ WHEN A.AGENT_CODE = '08' AND (A.RSLT_CODE = '1000' OR A.RSLT_CODE = '1001') |
|
| 67 |
+ THEN 'S' |
|
| 68 |
+ WHEN A.AGENT_CODE = '09' AND (A.RSLT_CODE = '1000' OR A.RSLT_CODE = '1001') |
|
| 69 |
+ THEN 'S' |
|
| 70 |
+ WHEN (A.RSLT_CODE IS NULL AND A.RSLT_CODE2 IS NULL AND A.SENT_DATE IS NULL AND A.RSLT_DATE IS NULL ) |
|
| 71 |
+ THEN 'W' |
|
| 72 |
+ ELSE 'F' |
|
| 73 |
+ END |
|
| 74 |
+ ) = 'S' |
|
| 75 |
+ ) AS hSuccessCount /*홈페이지 성공건수*/ |
|
| 76 |
+ , (SELECT |
|
| 77 |
+ COUNT(0) |
|
| 78 |
+ FROM |
|
| 79 |
+ MJ_MSG_DATA A |
|
| 80 |
+ WHERE 1=1 |
|
| 81 |
+ AND A.USER_ID NOT IN ('hftest','itntest','imotest','itntestBatch')
|
|
| 82 |
+ AND A.RESERVE_C_YN = 'N' |
|
| 83 |
+ AND A.MSG_GROUP_ID = M.MSG_GROUP_ID |
|
| 84 |
+ AND M.SEND_KIND = 'A' |
|
| 85 |
+ AND ( |
|
| 86 |
+ CASE |
|
| 87 |
+ WHEN A.AGENT_CODE = '01' AND (A.RSLT_CODE = '100' AND (A.RSLT_CODE2 = '0')) |
|
| 88 |
+ THEN 'S' |
|
| 89 |
+ WHEN A.AGENT_CODE = '02' AND (A.RSLT_CODE = '0') |
|
| 90 |
+ THEN 'S' |
|
| 91 |
+ WHEN A.AGENT_CODE = '03' AND (A.RSLT_CODE = '100' OR A.RSLT_CODE = '101' OR A.RSLT_CODE = '110' OR A.RSLT_CODE = '800') |
|
| 92 |
+ THEN 'S' |
|
| 93 |
+ WHEN A.AGENT_CODE = '04' AND (A.RSLT_CODE = '4100' OR A.RSLT_CODE = '6600') |
|
| 94 |
+ THEN 'S' |
|
| 95 |
+ WHEN A.AGENT_CODE = '05' AND (A.RSLT_CODE = '1000' OR A.RSLT_CODE = '1001') |
|
| 96 |
+ THEN 'S' |
|
| 97 |
+ WHEN A.AGENT_CODE = '07' AND (A.RSLT_CODE = '6' OR A.RSLT_CODE = '1000') |
|
| 98 |
+ THEN 'S' |
|
| 99 |
+ WHEN A.AGENT_CODE = '08' AND (A.RSLT_CODE = '1000' OR A.RSLT_CODE = '1001') |
|
| 100 |
+ THEN 'S' |
|
| 101 |
+ WHEN A.AGENT_CODE = '09' AND (A.RSLT_CODE = '1000' OR A.RSLT_CODE = '1001') |
|
| 102 |
+ THEN 'S' |
|
| 103 |
+ WHEN (A.RSLT_CODE IS NULL AND A.RSLT_CODE2 IS NULL AND A.SENT_DATE IS NULL AND A.RSLT_DATE IS NULL ) |
|
| 104 |
+ THEN 'W' |
|
| 105 |
+ ELSE 'F' |
|
| 106 |
+ END ) = 'S' |
|
| 107 |
+ ) AS aSuccessCount /*API 성공건수*/ |
|
| 108 |
+ FROM( |
|
| 109 |
+ SELECT |
|
| 110 |
+ DATE_FORMAT(P.REQ_DATE, '%Y-%m-%d') AS REQ_DATE |
|
| 111 |
+ , SUM(P.MSG_GROUP_CNT) AS MSG_GROUP_CNT |
|
| 112 |
+ , P.MSG_GROUP_ID |
|
| 113 |
+ , P.SEND_KIND |
|
| 114 |
+ , IF(P.SEND_KIND = 'A', SUM(P.MSG_GROUP_CNT), 0) AS aSendCount |
|
| 115 |
+ , IF(P.SEND_KIND = 'H', SUM(P.MSG_GROUP_CNT), 0) AS hSendCount |
|
| 116 |
+ FROM |
|
| 117 |
+ MJ_MSG_GROUP_DATA P |
|
| 118 |
+ WHERE 1=1 |
|
| 119 |
+ AND USER_ID NOT IN ('hftest', 'itntest', 'imotest', 'itntestBatch')
|
|
| 120 |
+ AND P.RESERVE_C_YN = 'N' |
|
| 121 |
+ AND P.req_date > DATE_ADD(now(), interval -14 day) |
|
| 122 |
+ GROUP BY |
|
| 123 |
+ P.MSG_GROUP_ID |
|
| 124 |
+ )M |
|
| 125 |
+ )M2 |
|
| 126 |
+ GROUP BY M2.regDate |
|
| 127 |
+ )aa |
|
| 128 |
+ ON DUPLICATE KEY UPDATE |
|
| 129 |
+ send_cnt =aa.hSendCount |
|
| 130 |
+ , success_cnt =aa.hSuccessCount |
|
| 131 |
+ , API_SEND_CNT =aa.aSendCount |
|
| 132 |
+ , API_SUCCESS_CNT =aa.aSuccessCount |
|
| 133 |
+ , regist_pnttm =now() |
|
| 95 | 134 |
</insert> |
| 96 | 135 |
|
| 97 | 136 |
<insert id="mjonSttst.insertMjSttstMsgDayBulk" parameterClass="mjonMsgVO"> |
| 98 |
- INSERT INTO mj_sttst_msg |
|
| 99 |
- (send_date, send_cnt, success_cnt, regist_pnttm) |
|
| 137 |
+ INSERT INTO MJ_STTST_MSG |
|
| 138 |
+ ( |
|
| 139 |
+ send_date |
|
| 140 |
+ , send_cnt |
|
| 141 |
+ , success_cnt |
|
| 142 |
+ , API_SEND_CNT |
|
| 143 |
+ , API_SUCCESS_CNT |
|
| 144 |
+ , regist_pnttm |
|
| 145 |
+ ) |
|
| 100 | 146 |
|
| 101 |
- select aa.regDate |
|
| 102 |
- , aa.sendCount |
|
| 103 |
- , aa.successCount |
|
| 147 |
+ SELECT |
|
| 148 |
+ aa.regDate |
|
| 149 |
+ , aa.hSendCount |
|
| 150 |
+ , aa.hSuccessCount |
|
| 151 |
+ , aa.aSendCount |
|
| 152 |
+ , aa.aSuccessCount |
|
| 104 | 153 |
, now() |
| 105 |
- |
|
| 106 |
- from ( |
|
| 107 |
- SELECT |
|
| 108 |
- M2.regDate , |
|
| 109 |
- SUM(M2.sendCount) AS sendCount , |
|
| 110 |
- SUM(M2.successCount) AS successCount |
|
| 111 |
- |
|
| 112 |
- FROM ( SELECT |
|
| 113 |
- M.REQ_DATE AS regDate |
|
| 114 |
- /*발송일*/ |
|
| 115 |
- |
|
| 116 |
- , IFNULL(M.MSG_GROUP_CNT, 0) AS sendCount |
|
| 117 |
- /*발송건수*/ |
|
| 118 |
- |
|
| 119 |
- , MSG_GROUP_ID |
|
| 120 |
- |
|
| 121 |
- , (SELECT COUNT(0) |
|
| 122 |
- FROM MJ_MSG_DATA A |
|
| 123 |
- WHERE A.USER_ID NOT IN ('hftest',
|
|
| 124 |
- 'itntest', |
|
| 125 |
- 'imotest', |
|
| 126 |
- 'itntestBatch') |
|
| 127 |
- AND A.RESERVE_C_YN = 'N' |
|
| 128 |
- AND A.MSG_GROUP_ID = M.MSG_GROUP_ID |
|
| 129 |
- AND ( |
|
| 130 |
- CASE |
|
| 131 |
- WHEN A.AGENT_CODE = '01' AND (A.RSLT_CODE = '100' AND(A.RSLT_CODE2 = '0')) |
|
| 132 |
- THEN 'S' |
|
| 133 |
- WHEN A.AGENT_CODE = '02' AND (A.RSLT_CODE = '0') |
|
| 134 |
- THEN 'S' |
|
| 135 |
- WHEN A.AGENT_CODE = '03' AND (A.RSLT_CODE = '100' OR A.RSLT_CODE = '101' OR A.RSLT_CODE = '110' OR A.RSLT_CODE = '800') |
|
| 136 |
- THEN 'S' |
|
| 137 |
- WHEN A.AGENT_CODE = '04' AND (A.RSLT_CODE = '4100' OR A.RSLT_CODE = '6600') |
|
| 138 |
- THEN 'S' |
|
| 139 |
- WHEN A.AGENT_CODE = '05' AND (A.RSLT_CODE = '1000' OR A.RSLT_CODE = '1001') |
|
| 140 |
- THEN 'S' |
|
| 141 |
- WHEN A.AGENT_CODE = '07' AND (A.RSLT_CODE = '6' OR A.RSLT_CODE = '1000') |
|
| 142 |
- THEN 'S' |
|
| 143 |
- WHEN A.AGENT_CODE = '08' AND (A.RSLT_CODE = '1000' OR A.RSLT_CODE = '1001') |
|
| 144 |
- THEN 'S' |
|
| 145 |
- WHEN A.AGENT_CODE = '09' AND (A.RSLT_CODE = '1000' OR A.RSLT_CODE = '1001') |
|
| 146 |
- THEN 'S' |
|
| 147 |
- WHEN ( |
|
| 148 |
- A.RSLT_CODE IS NULL |
|
| 149 |
- AND A.RSLT_CODE2 IS NULL |
|
| 150 |
- AND A.SENT_DATE IS NULL |
|
| 151 |
- AND A.RSLT_DATE IS NULL |
|
| 152 |
- ) |
|
| 153 |
- THEN 'W' |
|
| 154 |
- ELSE 'F' |
|
| 155 |
- END ) = 'S' |
|
| 156 |
- ) |
|
| 157 |
- AS successCount |
|
| 158 |
- /*성공건수*/ |
|
| 159 |
- |
|
| 160 |
- FROM ( SELECT DATE_FORMAT(P.REQ_DATE, '%Y-%m-%d') AS REQ_DATE , |
|
| 161 |
- SUM(P.MSG_GROUP_CNT) AS MSG_GROUP_CNT , |
|
| 162 |
- P.MSG_GROUP_ID |
|
| 163 |
- FROM MJ_MSG_GROUP_DATA P |
|
| 164 |
- WHERE USER_ID NOT IN ('hftest',
|
|
| 165 |
- 'itntest', |
|
| 166 |
- 'imotest', |
|
| 167 |
- 'itntestBatch') |
|
| 168 |
- AND P.RESERVE_C_YN = 'N' |
|
| 169 |
- GROUP BY P.MSG_GROUP_ID |
|
| 170 |
- ) |
|
| 171 |
- M |
|
| 172 |
- ) |
|
| 173 |
- M2 |
|
| 174 |
- GROUP BY M2.regDate |
|
| 175 |
- )aa |
|
| 176 |
- on DUPLICATE KEY UPDATE |
|
| 177 |
- send_cnt=aa.sendCount |
|
| 178 |
- , success_cnt=aa.successCount |
|
| 179 |
- , regist_pnttm=now() |
|
| 180 |
- |
|
| 154 |
+ FROM( |
|
| 155 |
+ SELECT |
|
| 156 |
+ M2.regDate |
|
| 157 |
+ , SUM(M2.sendCount) AS sendCount |
|
| 158 |
+ , SUM(M2.successCount) AS successCount |
|
| 159 |
+ FROM( |
|
| 160 |
+ SELECT |
|
| 161 |
+ M.REQ_DATE AS regDate /*발송일*/ |
|
| 162 |
+ , IFNULL(M.MSG_GROUP_CNT, 0) AS sendCount /*발송건수*/ |
|
| 163 |
+ , M.aSendCount /*API 발송건수*/ |
|
| 164 |
+ , M.hSendCount /*홈페이지 발송건수*/ |
|
| 165 |
+ , MSG_GROUP_ID |
|
| 166 |
+ , (SELECT |
|
| 167 |
+ COUNT(0) |
|
| 168 |
+ FROM |
|
| 169 |
+ MJ_MSG_DATA A |
|
| 170 |
+ WHERE 1=1 |
|
| 171 |
+ AND A.USER_ID NOT IN ('hftest','itntest','imotest','itntestBatch')
|
|
| 172 |
+ AND A.RESERVE_C_YN = 'N' |
|
| 173 |
+ AND A.MSG_GROUP_ID = M.MSG_GROUP_ID |
|
| 174 |
+ AND M.SEND_KIND = 'H' |
|
| 175 |
+ AND ( |
|
| 176 |
+ CASE |
|
| 177 |
+ WHEN A.AGENT_CODE = '01' AND (A.RSLT_CODE = '100' AND (A.RSLT_CODE2 = '0')) |
|
| 178 |
+ THEN 'S' |
|
| 179 |
+ WHEN A.AGENT_CODE = '02' AND (A.RSLT_CODE = '0') |
|
| 180 |
+ THEN 'S' |
|
| 181 |
+ WHEN A.AGENT_CODE = '03' AND (A.RSLT_CODE = '100' OR A.RSLT_CODE = '101' OR A.RSLT_CODE = '110' OR A.RSLT_CODE = '800') |
|
| 182 |
+ THEN 'S' |
|
| 183 |
+ WHEN A.AGENT_CODE = '04' AND (A.RSLT_CODE = '4100' OR A.RSLT_CODE = '6600') |
|
| 184 |
+ THEN 'S' |
|
| 185 |
+ WHEN A.AGENT_CODE = '05' AND (A.RSLT_CODE = '1000' OR A.RSLT_CODE = '1001') |
|
| 186 |
+ THEN 'S' |
|
| 187 |
+ WHEN A.AGENT_CODE = '07' AND (A.RSLT_CODE = '6' OR A.RSLT_CODE = '1000') |
|
| 188 |
+ THEN 'S' |
|
| 189 |
+ WHEN A.AGENT_CODE = '08' AND (A.RSLT_CODE = '1000' OR A.RSLT_CODE = '1001') |
|
| 190 |
+ THEN 'S' |
|
| 191 |
+ WHEN A.AGENT_CODE = '09' AND (A.RSLT_CODE = '1000' OR A.RSLT_CODE = '1001') |
|
| 192 |
+ THEN 'S' |
|
| 193 |
+ WHEN (A.RSLT_CODE IS NULL AND A.RSLT_CODE2 IS NULL AND A.SENT_DATE IS NULL AND A.RSLT_DATE IS NULL ) |
|
| 194 |
+ THEN 'W' |
|
| 195 |
+ ELSE 'F' |
|
| 196 |
+ END |
|
| 197 |
+ ) = 'S' |
|
| 198 |
+ ) AS hSuccessCount /*홈페이지 성공건수*/ |
|
| 199 |
+ , (SELECT |
|
| 200 |
+ COUNT(0) |
|
| 201 |
+ FROM |
|
| 202 |
+ MJ_MSG_DATA A |
|
| 203 |
+ WHERE 1=1 |
|
| 204 |
+ AND A.USER_ID NOT IN ('hftest','itntest','imotest','itntestBatch')
|
|
| 205 |
+ AND A.RESERVE_C_YN = 'N' |
|
| 206 |
+ AND A.MSG_GROUP_ID = M.MSG_GROUP_ID |
|
| 207 |
+ AND M.SEND_KIND = 'A' |
|
| 208 |
+ AND ( |
|
| 209 |
+ CASE |
|
| 210 |
+ WHEN A.AGENT_CODE = '01' AND (A.RSLT_CODE = '100' AND (A.RSLT_CODE2 = '0')) |
|
| 211 |
+ THEN 'S' |
|
| 212 |
+ WHEN A.AGENT_CODE = '02' AND (A.RSLT_CODE = '0') |
|
| 213 |
+ THEN 'S' |
|
| 214 |
+ WHEN A.AGENT_CODE = '03' AND (A.RSLT_CODE = '100' OR A.RSLT_CODE = '101' OR A.RSLT_CODE = '110' OR A.RSLT_CODE = '800') |
|
| 215 |
+ THEN 'S' |
|
| 216 |
+ WHEN A.AGENT_CODE = '04' AND (A.RSLT_CODE = '4100' OR A.RSLT_CODE = '6600') |
|
| 217 |
+ THEN 'S' |
|
| 218 |
+ WHEN A.AGENT_CODE = '05' AND (A.RSLT_CODE = '1000' OR A.RSLT_CODE = '1001') |
|
| 219 |
+ THEN 'S' |
|
| 220 |
+ WHEN A.AGENT_CODE = '07' AND (A.RSLT_CODE = '6' OR A.RSLT_CODE = '1000') |
|
| 221 |
+ THEN 'S' |
|
| 222 |
+ WHEN A.AGENT_CODE = '08' AND (A.RSLT_CODE = '1000' OR A.RSLT_CODE = '1001') |
|
| 223 |
+ THEN 'S' |
|
| 224 |
+ WHEN A.AGENT_CODE = '09' AND (A.RSLT_CODE = '1000' OR A.RSLT_CODE = '1001') |
|
| 225 |
+ THEN 'S' |
|
| 226 |
+ WHEN (A.RSLT_CODE IS NULL AND A.RSLT_CODE2 IS NULL AND A.SENT_DATE IS NULL AND A.RSLT_DATE IS NULL ) |
|
| 227 |
+ THEN 'W' |
|
| 228 |
+ ELSE 'F' |
|
| 229 |
+ END ) = 'S' |
|
| 230 |
+ ) AS aSuccessCount /*API 성공건수*/ |
|
| 231 |
+ FROM( |
|
| 232 |
+ SELECT |
|
| 233 |
+ DATE_FORMAT(P.REQ_DATE, '%Y-%m-%d') AS REQ_DATE |
|
| 234 |
+ , SUM(P.MSG_GROUP_CNT) AS MSG_GROUP_CNT |
|
| 235 |
+ , P.MSG_GROUP_ID |
|
| 236 |
+ , P.SEND_KIND |
|
| 237 |
+ , IF(P.SEND_KIND = 'A', SUM(P.MSG_GROUP_CNT), 0) AS aSendCount |
|
| 238 |
+ , IF(P.SEND_KIND = 'H', SUM(P.MSG_GROUP_CNT), 0) AS hSendCount |
|
| 239 |
+ FROM |
|
| 240 |
+ MJ_MSG_GROUP_DATA P |
|
| 241 |
+ WHERE 1=1 |
|
| 242 |
+ AND USER_ID NOT IN ('hftest','itntest','imotest','itntestBatch')
|
|
| 243 |
+ AND P.RESERVE_C_YN = 'N' |
|
| 244 |
+ GROUP BY |
|
| 245 |
+ P.MSG_GROUP_ID |
|
| 246 |
+ )M |
|
| 247 |
+ )M2 |
|
| 248 |
+ GROUP BY M2.regDate |
|
| 249 |
+ )aa |
|
| 250 |
+ ON DUPLICATE KEY UPDATE |
|
| 251 |
+ send_cnt =aa.hSendCount |
|
| 252 |
+ , success_cnt =aa.hSuccessCount |
|
| 253 |
+ , API_SEND_CNT =aa.aSendCount |
|
| 254 |
+ , API_SUCCESS_CNT =aa.aSuccessCount |
|
| 255 |
+ , regist_pnttm =now() |
|
| 181 | 256 |
</insert> |
| 182 | 257 |
|
| 183 | 258 |
<insert id="mjonSttst.insertMjSttstMsgRankBulk" parameterClass="mjonMsgVO"> |
--- src/main/resources/egovframework/sqlmap/let/uss/umt/EgovMberManage_SQL_Mysql.xml
+++ src/main/resources/egovframework/sqlmap/let/uss/umt/EgovMberManage_SQL_Mysql.xml
... | ... | @@ -1331,6 +1331,7 @@ |
| 1331 | 1331 |
AND A.MSG_GROUP_ID = A.msgGroupId |
| 1332 | 1332 |
AND (<include refid="MjonMsgSentDAO.selectAgentResultQuery_A"/>) = 'S' |
| 1333 | 1333 |
) AS successCnt |
| 1334 |
+ , MGD.SEND_KIND AS sendKind |
|
| 1334 | 1335 |
, MGD.SMS_TXT AS smsTxt |
| 1335 | 1336 |
, userdata |
| 1336 | 1337 |
, curState |
... | ... | @@ -1451,6 +1452,7 @@ |
| 1451 | 1452 |
AND A.MSG_GROUP_ID = A.msgGroupId |
| 1452 | 1453 |
AND (<include refid="MjonMsgSentDAO.selectAgentResultQuery_A"/>) = 'S' |
| 1453 | 1454 |
) AS successCnt |
| 1455 |
+ , MGD.SEND_KIND AS sendKind |
|
| 1454 | 1456 |
, MGD.SMS_TXT AS smsTxt |
| 1455 | 1457 |
, userdata |
| 1456 | 1458 |
, curState |
... | ... | @@ -1574,6 +1576,7 @@ |
| 1574 | 1576 |
AND A.MSG_GROUP_ID = A.msgGroupId |
| 1575 | 1577 |
AND (<include refid="MjonMsgSentDAO.selectAgentResultQuery_A"/>) = 'S' |
| 1576 | 1578 |
) AS successCnt |
| 1579 |
+ , MGD.SEND_KIND AS sendKind |
|
| 1577 | 1580 |
, MGD.SMS_TXT AS smsTxt |
| 1578 | 1581 |
, userdata |
| 1579 | 1582 |
, curState |
--- src/main/webapp/WEB-INF/jsp/cmm/uss/umt/EgovGnrlUserSelectMsgDataListPop.jsp
+++ src/main/webapp/WEB-INF/jsp/cmm/uss/umt/EgovGnrlUserSelectMsgDataListPop.jsp
... | ... | @@ -120,6 +120,10 @@ |
| 120 | 120 |
$('#ntceEnddeYYYMMDD').val('');
|
| 121 | 121 |
$('#ntceBgnde').val('');
|
| 122 | 122 |
$('#ntceEndde').val('');
|
| 123 |
+ |
|
| 124 |
+ $('#searchKeyword').val('');
|
|
| 125 |
+ $('#sendKind').val('').prop("selected",true);
|
|
| 126 |
+ $('#searchCondition').val('').prop("selected",true);
|
|
| 123 | 127 |
} |
| 124 | 128 |
|
| 125 | 129 |
|
... | ... | @@ -343,6 +347,7 @@ |
| 343 | 347 |
<table class="tbType1"> |
| 344 | 348 |
<colgroup> |
| 345 | 349 |
<col style="width:5.00%"> |
| 350 |
+ <col style="width:5.00%"> |
|
| 346 | 351 |
<col style="width:5.50%"> |
| 347 | 352 |
<col style="width:7.00%"> |
| 348 | 353 |
<col style="width:7.50%"> |
... | ... | @@ -361,6 +366,7 @@ |
| 361 | 366 |
</colgroup> |
| 362 | 367 |
<thead> |
| 363 | 368 |
<tr> |
| 369 |
+ <th rowspan="2">방식</th> |
|
| 364 | 370 |
<th colspan="4">단문</th> |
| 365 | 371 |
<th colspan="4">장문</th> |
| 366 | 372 |
<th colspan="4">그림문자</th> |
... | ... | @@ -387,51 +393,93 @@ |
| 387 | 393 |
</thead> |
| 388 | 394 |
<tbody> |
| 389 | 395 |
<tr> |
| 390 |
- <td><span class="tType4 c_456ded fwBold"><fmt:formatNumber value="${msgSmsGroupSCntSum}" pattern="#,###" /></span></td>
|
|
| 391 |
- <td><span class="tType4 c_456ded fwBold"><fmt:formatNumber value="${totSmsSPriceSum}" pattern="#,###" /></span></td>
|
|
| 392 |
- <td><span class="tType4 c_456ded fwBold"><fmt:formatNumber value="${msgSmsGroupFWCntSum}" pattern="#,###" /></span></td>
|
|
| 393 |
- <td><span class="tType4 c_456ded fwBold"><fmt:formatNumber value="${totSmsFWPriceSum}" pattern="#,###" /></span></td>
|
|
| 394 |
- <td><span class="tType4 c_456ded fwBold"><fmt:formatNumber value="${msgLmsGroupSCntSum}" pattern="#,###" /></span></td>
|
|
| 395 |
- <td><span class="tType4 c_456ded fwBold"><fmt:formatNumber value="${totLmsSPriceSum}" pattern="#,###" /></span></td>
|
|
| 396 |
- <td><span class="tType4 c_456ded fwBold"><fmt:formatNumber value="${msgLmsGroupFWCntSum}" pattern="#,###" /></span></td>
|
|
| 397 |
- <td><span class="tType4 c_456ded fwBold"><fmt:formatNumber value="${totLmsFWPriceSum}" pattern="#,###" /></span></td>
|
|
| 398 |
- <td><span class="tType4 c_456ded fwBold"><fmt:formatNumber value="${msgMmsGroupSCntSum}" pattern="#,###" /></span></td>
|
|
| 399 |
- <td><span class="tType4 c_456ded fwBold"><fmt:formatNumber value="${totMmsSPriceSum}" pattern="#,###" /></span></td>
|
|
| 400 |
- <td><span class="tType4 c_456ded fwBold"><fmt:formatNumber value="${msgMmsGroupFWCntSum}" pattern="#,###" /></span></td>
|
|
| 401 |
- <td><span class="tType4 c_456ded fwBold"><fmt:formatNumber value="${totMmsFWPriceSum}" pattern="#,###" /></span></td>
|
|
| 402 |
- <td><span class="tType4 c_456ded fwBold"><fmt:formatNumber value="${msgGroupSCntSum}" pattern="#,###" /></span></td>
|
|
| 403 |
- <td><span class="tType4 c_456ded fwBold"><fmt:formatNumber value="${totSPriceSum}" pattern="#,###" /></span></td>
|
|
| 404 |
- <td><span class="tType4 c_456ded fwBold"><fmt:formatNumber value="${msgGroupFWCntSum}" pattern="#,###" /></span></td>
|
|
| 405 |
- <td><span class="tType4 c_456ded fwBold"><fmt:formatNumber value="${totFWPriceSum}" pattern="#,###" /></span></td>
|
|
| 396 |
+ <td> |
|
| 397 |
+ 전체 |
|
| 398 |
+ </td> |
|
| 399 |
+ <td> |
|
| 400 |
+ <span class="tType4 c_456ded fwBold"> |
|
| 401 |
+ <fmt:formatNumber value="${msgSmsGroupSCntSum}" pattern="#,###" />
|
|
| 402 |
+ </span> |
|
| 403 |
+ </td> |
|
| 404 |
+ <td> |
|
| 405 |
+ <span class="tType4 c_456ded fwBold"><fmt:formatNumber value="${totSmsSPriceSum}" pattern="#,###" /></span>
|
|
| 406 |
+ </td> |
|
| 407 |
+ <td> |
|
| 408 |
+ <span class="tType4 c_456ded fwBold"><fmt:formatNumber value="${msgSmsGroupFWCntSum}" pattern="#,###" /></span>
|
|
| 409 |
+ </td> |
|
| 410 |
+ <td> |
|
| 411 |
+ <span class="tType4 c_456ded fwBold"><fmt:formatNumber value="${totSmsFWPriceSum}" pattern="#,###" /></span>
|
|
| 412 |
+ </td> |
|
| 413 |
+ <td> |
|
| 414 |
+ <span class="tType4 c_456ded fwBold"><fmt:formatNumber value="${msgLmsGroupSCntSum}" pattern="#,###" /></span>
|
|
| 415 |
+ </td> |
|
| 416 |
+ <td> |
|
| 417 |
+ <span class="tType4 c_456ded fwBold"><fmt:formatNumber value="${totLmsSPriceSum}" pattern="#,###" /></span>
|
|
| 418 |
+ </td> |
|
| 419 |
+ <td> |
|
| 420 |
+ <span class="tType4 c_456ded fwBold"><fmt:formatNumber value="${msgLmsGroupFWCntSum}" pattern="#,###" /></span>
|
|
| 421 |
+ </td> |
|
| 422 |
+ <td> |
|
| 423 |
+ <span class="tType4 c_456ded fwBold"><fmt:formatNumber value="${totLmsFWPriceSum}" pattern="#,###" /></span>
|
|
| 424 |
+ </td> |
|
| 425 |
+ <td> |
|
| 426 |
+ <span class="tType4 c_456ded fwBold"><fmt:formatNumber value="${msgMmsGroupSCntSum}" pattern="#,###" /></span>
|
|
| 427 |
+ </td> |
|
| 428 |
+ <td> |
|
| 429 |
+ <span class="tType4 c_456ded fwBold"><fmt:formatNumber value="${totMmsSPriceSum}" pattern="#,###" /></span>
|
|
| 430 |
+ </td> |
|
| 431 |
+ <td> |
|
| 432 |
+ <span class="tType4 c_456ded fwBold"><fmt:formatNumber value="${msgMmsGroupFWCntSum}" pattern="#,###" /></span>
|
|
| 433 |
+ </td> |
|
| 434 |
+ <td> |
|
| 435 |
+ <span class="tType4 c_456ded fwBold"><fmt:formatNumber value="${totMmsFWPriceSum}" pattern="#,###" /></span>
|
|
| 436 |
+ </td> |
|
| 437 |
+ <td> |
|
| 438 |
+ <span class="tType4 c_456ded fwBold"><fmt:formatNumber value="${msgGroupSCntSum}" pattern="#,###" /></span>
|
|
| 439 |
+ </td> |
|
| 440 |
+ <td> |
|
| 441 |
+ <span class="tType4 c_456ded fwBold"><fmt:formatNumber value="${totSPriceSum}" pattern="#,###" /></span>
|
|
| 442 |
+ </td> |
|
| 443 |
+ <td> |
|
| 444 |
+ <span class="tType4 c_456ded fwBold"><fmt:formatNumber value="${msgGroupFWCntSum}" pattern="#,###" /></span>
|
|
| 445 |
+ </td> |
|
| 446 |
+ <td> |
|
| 447 |
+ <span class="tType4 c_456ded fwBold"><fmt:formatNumber value="${totFWPriceSum}" pattern="#,###" /></span>
|
|
| 448 |
+ </td> |
|
| 406 | 449 |
</tr> |
| 407 | 450 |
</tbody> |
| 408 | 451 |
</table> |
| 409 | 452 |
</div> |
| 410 | 453 |
|
| 411 | 454 |
<div class="listSerch"> |
| 412 |
- <select name="searchCondition" class="select" title="검색조건 선택"> |
|
| 455 |
+ |
|
| 456 |
+ <select id="sendKind" name="sendKind" class="select" title="검색조건 선택"> |
|
| 457 |
+ <option value="" <c:if test="${searchVO.sendKind == ''}">selected="selected"</c:if>>발송방식 전체</option>
|
|
| 458 |
+ <option value="H" <c:if test="${searchVO.sendKind == 'H'}">selected="selected"</c:if>>WEB</option>
|
|
| 459 |
+ <option value="A" <c:if test="${searchVO.sendKind == 'A'}">selected="selected"</c:if>>API</option>
|
|
| 460 |
+ </select> |
|
| 461 |
+ |
|
| 462 |
+ <select id="searchCondition" name="searchCondition" class="select" title="검색조건 선택"> |
|
| 413 | 463 |
<option value="" <c:if test="${searchVO.searchCondition == ''}">selected="selected"</c:if>>발신번호/내용</option>
|
| 414 |
- <%-- <option value="1" <c:if test="${searchVO.searchCondition == '1'}">selected="selected"</c:if>>사용자ID</option> --%>
|
|
| 415 |
- <option value="2" <c:if test="${searchVO.searchCondition == '2'}">selected="selected"</c:if>>발신번호</option>
|
|
| 416 |
- <option value="3" <c:if test="${searchVO.searchCondition == '3'}">selected="selected"</c:if>>전송내용</option>
|
|
| 464 |
+ <option value="1" <c:if test="${searchVO.searchCondition == '1'}">selected="selected"</c:if>>발신번호</option>
|
|
| 465 |
+ <option value="2" <c:if test="${searchVO.searchCondition == '2'}">selected="selected"</c:if>>전송내용</option>
|
|
| 417 | 466 |
</select> |
| 418 | 467 |
|
| 419 | 468 |
<input id="searchKeyword" name="searchKeyword" class="recentSearch" type="text" value="<c:out value='${searchVO.searchKeyword}'/>" size="25" title="검색" maxlength="100" />
|
| 420 | 469 |
<input type="button" class="btnType1" value="검색" onclick="fn_search(); return false;"> |
| 421 | 470 |
|
| 422 | 471 |
<input type="hidden" name="cal_url" id="cal_url" value="/sym/cmm/EgovNormalCalPopup.do"> |
| 423 |
- <a href="#" onclick="javascript:fn_egov_NormalCalendar(document.forms.listForm, document.forms.listForm.ntceBgndeYYYMMDD);"> |
|
| 424 |
- <input style="width:auto;min-width: 83px;" type="text" class="date_format" name="ntceBgndeYYYMMDD" id="ntceBgndeYYYMMDD" size="4" maxlength="4" readonly="" |
|
| 425 |
- value="<c:out value="${searchVO.ntceBgnde}" />" >
|
|
| 426 |
- <input type="button" class="calBtn"> |
|
| 427 |
- </a> |
|
| 428 |
- ~ |
|
| 429 |
- <a href="#" onclick="javascript:fn_egov_NormalCalendar(document.forms.listForm, document.forms.listForm.ntceEnddeYYYMMDD);"> |
|
| 430 |
- <input style="width:auto;min-width: 83px;" type="text" class="date_format" name="ntceEnddeYYYMMDD" id="ntceEnddeYYYMMDD" size="4" maxlength="4" readonly="" |
|
| 431 |
- value="<c:out value="${searchVO.ntceEndde}" />"
|
|
| 432 |
- > |
|
| 433 |
- <input type="button" class="calBtn"> |
|
| 434 |
- </a> |
|
| 472 |
+ <a href="#" onclick="javascript:fn_egov_NormalCalendar(document.forms.listForm, document.forms.listForm.ntceBgndeYYYMMDD);"> |
|
| 473 |
+ <input style="width:auto;min-width: 83px;" type="text" class="date_format" name="ntceBgndeYYYMMDD" id="ntceBgndeYYYMMDD" size="4" maxlength="4" readonly="" |
|
| 474 |
+ value="<c:out value="${searchVO.ntceBgnde}" />" >
|
|
| 475 |
+ <input type="button" class="calBtn"> |
|
| 476 |
+ </a> |
|
| 477 |
+ ~ |
|
| 478 |
+ <a href="#" onclick="javascript:fn_egov_NormalCalendar(document.forms.listForm, document.forms.listForm.ntceEnddeYYYMMDD);"> |
|
| 479 |
+ <input style="width:auto;min-width: 83px;" type="text" class="date_format" name="ntceEnddeYYYMMDD" id="ntceEnddeYYYMMDD" size="4" maxlength="4" readonly="" |
|
| 480 |
+ value="<c:out value="${searchVO.ntceEndde}" />" >
|
|
| 481 |
+ <input type="button" class="calBtn"> |
|
| 482 |
+ </a> |
|
| 435 | 483 |
<a href="#" style="margin-left: 17px;" onclick="init_date(); return false;"> |
| 436 | 484 |
<img src="/pb/img/common/topTimeOut.png" alt="타임아웃 아이콘"> |
| 437 | 485 |
</a> |
... | ... | @@ -462,7 +510,7 @@ |
| 462 | 510 |
<col style="width: 6%"> |
| 463 | 511 |
<%-- <col style="width: 8%"> --%> |
| 464 | 512 |
<%-- <col style="width: 6%"> --%> |
| 465 |
- <%--<col style="width: 6%">--%> |
|
| 513 |
+ <col style="width: 6%"> |
|
| 466 | 514 |
<col style="width: 8%"> |
| 467 | 515 |
<col style="width: 7%"> |
| 468 | 516 |
<col style="width: 7%"> |
... | ... | @@ -482,9 +530,7 @@ |
| 482 | 530 |
<th>예약</th> |
| 483 | 531 |
<th>내용</th> |
| 484 | 532 |
<th>타입</th> |
| 485 |
- <!-- <th>금액</th> --> |
|
| 486 |
- <!-- <th>발송결과</th> --> |
|
| 487 |
- <%--<th>전송사</th>--%> |
|
| 533 |
+ <th>방식</th> |
|
| 488 | 534 |
<th>스미싱의심</th> |
| 489 | 535 |
<th>이용정지</th> |
| 490 | 536 |
<th>발송처리</th> |
... | ... | @@ -495,24 +541,24 @@ |
| 495 | 541 |
<tr> |
| 496 | 542 |
<td> |
| 497 | 543 |
<c:if test="${searchVO.searchSortOrd eq 'desc' }">
|
| 498 |
- <c:out value="${ ( paginationInfo.totalRecordCount - ((paginationInfo.currentPageNo -1)*paginationInfo.recordCountPerPage) ) - status.index }"/>
|
|
| 499 |
- </c:if> |
|
| 500 |
- <c:if test="${searchVO.searchSortOrd eq 'asc' }">
|
|
| 544 |
+ <c:out value="${ ( paginationInfo.totalRecordCount - ((paginationInfo.currentPageNo -1)*paginationInfo.recordCountPerPage) ) - status.index }"/>
|
|
| 545 |
+ </c:if> |
|
| 546 |
+ <c:if test="${searchVO.searchSortOrd eq 'asc' }">
|
|
| 501 | 547 |
<c:out value="${(paginationInfo.currentPageNo - 1) * paginationInfo.recordCountPerPage + status.count}"/>
|
| 502 |
- </c:if> |
|
| 548 |
+ </c:if> |
|
| 503 | 549 |
</td> |
| 504 | 550 |
<td> |
| 505 | 551 |
<c:out value="${result.callFrom}"/>
|
| 506 | 552 |
</td> |
| 507 | 553 |
<td title="<c:out value="${result.regDate}"/>">
|
| 508 | 554 |
<fmt:parseDate value="${result.regDate}" var="regDateValue" pattern="yyyy-MM-dd HH:mm"/>
|
| 509 |
- <fmt:formatDate value="${regDateValue}" pattern="MM-dd HH:mm"/>
|
|
| 555 |
+ <fmt:formatDate value="${regDateValue}" pattern="MM-dd HH:mm"/>
|
|
| 510 | 556 |
</td> |
| 511 | 557 |
<td> |
| 512 | 558 |
<c:choose> |
| 513 | 559 |
<c:when test="${result.reserveCYn eq 'Y'}">
|
| 514 | 560 |
<c:out value="${result.cancelDate}"/>
|
| 515 |
- </c:when> |
|
| 561 |
+ </c:when> |
|
| 516 | 562 |
<c:when test="${result.reserveYn eq 'Y' && result.reserveCYn eq 'N'}">
|
| 517 | 563 |
<c:out value="${result.reqDate}"/>
|
| 518 | 564 |
</c:when> |
... | ... | @@ -525,21 +571,13 @@ |
| 525 | 571 |
</c:choose> |
| 526 | 572 |
</td> |
| 527 | 573 |
<td> |
| 528 |
- <%-- <c:choose> |
|
| 529 |
- <c:when test="${result.resultCodeTxt eq 'S'}">
|
|
| 530 |
- <fmt:formatNumber value="${result.msgGroupSCnt}" pattern="#,###" />
|
|
| 531 |
- </c:when> |
|
| 532 |
- <c:otherwise> |
|
| 533 |
- <fmt:formatNumber value="${result.msgGroupFWCnt}" pattern="#,###" />
|
|
| 534 |
- </c:otherwise> |
|
| 535 |
- </c:choose> --%> |
|
| 536 | 574 |
<fmt:formatNumber value="${result.msgGroupSCnt}" pattern="#,###" />/<fmt:formatNumber value="${result.msgGroupFWCnt}" pattern="#,###" />(<fmt:formatNumber value="${(result.msgGroupSCnt / (result.msgGroupSCnt + result.msgGroupFWCnt)) * 100}" pattern="#,###" />%)
|
| 537 | 575 |
</td> |
| 538 | 576 |
<td> |
| 539 | 577 |
<c:choose> |
| 540 | 578 |
<c:when test="${result.reserveCYn eq 'Y'}">
|
| 541 | 579 |
예약취소 |
| 542 |
- </c:when> |
|
| 580 |
+ </c:when> |
|
| 543 | 581 |
<c:when test="${result.reserveYn eq 'Y' && result.reserveCYn eq 'N'}">
|
| 544 | 582 |
예약 |
| 545 | 583 |
</c:when> |
... | ... | @@ -547,27 +585,7 @@ |
| 547 | 585 |
즉시 |
| 548 | 586 |
</c:otherwise> |
| 549 | 587 |
</c:choose> |
| 550 |
- |
|
| 551 |
- </td> |
|
| 552 |
- <%-- |
|
| 553 |
- <td class="msg_detail"> |
|
| 554 |
- <button type="button" class="btnType btnType20" id="msgDetail" name="msgDetail" onclick="msgDetailView(this, '<c:out value="${result.msgGroupId}"/>', '${status.count}'); return false;">상세보기</button>
|
|
| 555 |
- <div class="layer_msg_wrap"> |
|
| 556 |
- <div class="layer_msg_detail"> |
|
| 557 |
- <button type="button" onclick="msgDetailClose(this);"></button> |
|
| 558 |
- <div class="title"> |
|
| 559 |
- <c:choose> |
|
| 560 |
- <c:when test="${result.msgType eq '4'}">단문</c:when>
|
|
| 561 |
- <c:when test="${result.msgType eq '6' && result.fileCnt > 0}">그림(<c:out value="${result.fileCnt}"/>장)</c:when>
|
|
| 562 |
- <c:otherwise>장문</c:otherwise> |
|
| 563 |
- </c:choose> |
|
| 564 |
- </div> |
|
| 565 |
- <div class="content msgSentDetailPopLoad${status.count}">
|
|
| 566 |
- </div> |
|
| 567 |
- </div> |
|
| 568 |
- </div> |
|
| 569 | 588 |
</td> |
| 570 |
- --%> |
|
| 571 | 589 |
<td class="sms_detail left"> |
| 572 | 590 |
<c:choose> |
| 573 | 591 |
<c:when test="${empty result.smsTxt}">
|
... | ... | @@ -612,8 +630,7 @@ |
| 612 | 630 |
</div> |
| 613 | 631 |
</c:otherwise> |
| 614 | 632 |
</c:choose> |
| 615 |
- </td> |
|
| 616 |
- |
|
| 633 |
+ </td> |
|
| 617 | 634 |
<td> |
| 618 | 635 |
<c:choose> |
| 619 | 636 |
<c:when test="${result.msgType eq '4'}">
|
... | ... | @@ -627,30 +644,16 @@ |
| 627 | 644 |
</c:otherwise> |
| 628 | 645 |
</c:choose> |
| 629 | 646 |
</td> |
| 630 |
- <%-- <td> |
|
| 647 |
+ <td> |
|
| 631 | 648 |
<c:choose> |
| 632 |
- <c:when test="${result.resultCodeTxt eq 'S'}">
|
|
| 633 |
- <fmt:formatNumber value="${result.totSPrice}" pattern="#,###" />
|
|
| 649 |
+ <c:when test="${result.sendKind eq 'A'}">
|
|
| 650 |
+ API |
|
| 634 | 651 |
</c:when> |
| 635 |
- <c:otherwise> |
|
| 636 |
- <fmt:formatNumber value="${result.totFWPrice}" pattern="#,###" />
|
|
| 637 |
- </c:otherwise> |
|
| 652 |
+ <c:when test="${result.sendKind eq 'H'}">
|
|
| 653 |
+ 홈페이지 |
|
| 654 |
+ </c:when> |
|
| 638 | 655 |
</c:choose> |
| 639 |
- </td> --%> |
|
| 640 |
- <%-- <td> |
|
| 641 |
- <c:choose> |
|
| 642 |
- <c:when test="${result.resultCodeTxt eq 'S'}">
|
|
| 643 |
- 정상수신 |
|
| 644 |
- </c:when> |
|
| 645 |
- <c:when test="${result.resultCodeTxt eq 'F'}">
|
|
| 646 |
- 수신오류 |
|
| 647 |
- </c:when> |
|
| 648 |
- <c:otherwise> |
|
| 649 |
- 결과대기 |
|
| 650 |
- </c:otherwise> |
|
| 651 |
- </c:choose> |
|
| 652 |
- </td> --%> |
|
| 653 |
- <%--<td><c:out value="${result.agentCodeTxt}"/></td>--%>
|
|
| 656 |
+ </td> |
|
| 654 | 657 |
<td> |
| 655 | 658 |
<c:choose> |
| 656 | 659 |
<c:when test="${result.delayYn eq 'Y'}">
|
... | ... | @@ -702,7 +705,7 @@ |
| 702 | 705 |
</tr> |
| 703 | 706 |
</c:forEach> |
| 704 | 707 |
<c:if test="${empty resultList}">
|
| 705 |
- <tr><td colspan="11"><spring:message code="common.nodata.msg" /></td></tr> |
|
| 708 |
+ <tr><td colspan="12"><spring:message code="common.nodata.msg" /></td></tr> |
|
| 706 | 709 |
</c:if> |
| 707 | 710 |
</tbody> |
| 708 | 711 |
</table> |
--- src/main/webapp/WEB-INF/jsp/cmm/uss/umt/EgovGnrlUserSelectUpdt.jsp
+++ src/main/webapp/WEB-INF/jsp/cmm/uss/umt/EgovGnrlUserSelectUpdt.jsp
... | ... | @@ -3721,6 +3721,7 @@ |
| 3721 | 3721 |
<colgroup> |
| 3722 | 3722 |
<col style="width:5%;"> |
| 3723 | 3723 |
<col style="width:7%;"> |
| 3724 |
+ <col style="width:7%;"> |
|
| 3724 | 3725 |
<col style="width:9%;"> |
| 3725 | 3726 |
<col style="width:13%;"> |
| 3726 | 3727 |
<col style="width:15%;"> |
... | ... | @@ -3733,6 +3734,7 @@ |
| 3733 | 3734 |
<tr> |
| 3734 | 3735 |
<th>번호</th> |
| 3735 | 3736 |
<th>종류</th> |
| 3737 |
+ <th>방식</th> |
|
| 3736 | 3738 |
<th>등록일시</th> |
| 3737 | 3739 |
<th>전송일시</th> |
| 3738 | 3740 |
<th>발신번호</th> |
... | ... | @@ -3747,7 +3749,9 @@ |
| 3747 | 3749 |
<c:when test="${not empty mjonMsgSentList}">
|
| 3748 | 3750 |
<c:forEach var="mjonMsgSentList" items="${mjonMsgSentList}" varStatus="status">
|
| 3749 | 3751 |
<tr> |
| 3750 |
- <td><c:out value="${status.count}"/></td>
|
|
| 3752 |
+ <td> |
|
| 3753 |
+ <c:out value="${status.count}"/>
|
|
| 3754 |
+ </td> |
|
| 3751 | 3755 |
<td> |
| 3752 | 3756 |
<c:choose> |
| 3753 | 3757 |
<c:when test="${mjonMsgSentList.msgType == '4'}">
|
... | ... | @@ -3769,6 +3773,16 @@ |
| 3769 | 3773 |
<c:otherwise> |
| 3770 | 3774 |
장문 |
| 3771 | 3775 |
</c:otherwise> |
| 3776 |
+ </c:choose> |
|
| 3777 |
+ </td> |
|
| 3778 |
+ <td> |
|
| 3779 |
+ <c:choose> |
|
| 3780 |
+ <c:when test="${mjonMsgSentList.sendKind == 'H'}">
|
|
| 3781 |
+ WEB |
|
| 3782 |
+ </c:when> |
|
| 3783 |
+ <c:when test="${mjonMsgSentList.sendKind == 'A'}">
|
|
| 3784 |
+ API |
|
| 3785 |
+ </c:when> |
|
| 3772 | 3786 |
</c:choose> |
| 3773 | 3787 |
</td> |
| 3774 | 3788 |
<td> |
... | ... | @@ -3898,7 +3912,7 @@ |
| 3898 | 3912 |
</c:when> |
| 3899 | 3913 |
<c:otherwise> |
| 3900 | 3914 |
<tr> |
| 3901 |
- <td colspan="9">문자 발송 내역이 없습니다.</td> |
|
| 3915 |
+ <td colspan="10">문자 발송 내역이 없습니다.</td> |
|
| 3902 | 3916 |
</tr> |
| 3903 | 3917 |
</c:otherwise> |
| 3904 | 3918 |
</c:choose> |
... | ... | @@ -3916,6 +3930,7 @@ |
| 3916 | 3930 |
<colgroup> |
| 3917 | 3931 |
<col style="width:5%;"> |
| 3918 | 3932 |
<col style="width:7%;"> |
| 3933 |
+ <col style="width:7%;"> |
|
| 3919 | 3934 |
<col style="width:9%;"> |
| 3920 | 3935 |
<col style="width:13%;"> |
| 3921 | 3936 |
<col style="width:15%;"> |
... | ... | @@ -3928,6 +3943,7 @@ |
| 3928 | 3943 |
<tr> |
| 3929 | 3944 |
<th>번호</th> |
| 3930 | 3945 |
<th>종류</th> |
| 3946 |
+ <th>방식</th> |
|
| 3931 | 3947 |
<th>등록일시</th> |
| 3932 | 3948 |
<th>요청일시</th> |
| 3933 | 3949 |
<th>발신번호</th> |
... | ... | @@ -3964,6 +3980,16 @@ |
| 3964 | 3980 |
<c:otherwise> |
| 3965 | 3981 |
장문 |
| 3966 | 3982 |
</c:otherwise> |
| 3983 |
+ </c:choose> |
|
| 3984 |
+ </td> |
|
| 3985 |
+ <td> |
|
| 3986 |
+ <c:choose> |
|
| 3987 |
+ <c:when test="${mjonMsgSentList.sendKind == 'H'}">
|
|
| 3988 |
+ WEB |
|
| 3989 |
+ </c:when> |
|
| 3990 |
+ <c:when test="${mjonMsgSentList.sendKind == 'A'}">
|
|
| 3991 |
+ API |
|
| 3992 |
+ </c:when> |
|
| 3967 | 3993 |
</c:choose> |
| 3968 | 3994 |
</td> |
| 3969 | 3995 |
<td> |
... | ... | @@ -4094,7 +4120,7 @@ |
| 4094 | 4120 |
</c:when> |
| 4095 | 4121 |
<c:otherwise> |
| 4096 | 4122 |
<tr> |
| 4097 |
- <td colspan="9">예약 문자 내역이 없습니다.</td> |
|
| 4123 |
+ <td colspan="10">예약 문자 내역이 없습니다.</td> |
|
| 4098 | 4124 |
</tr> |
| 4099 | 4125 |
</c:otherwise> |
| 4100 | 4126 |
</c:choose> |
... | ... | @@ -4116,6 +4142,7 @@ |
| 4116 | 4142 |
<colgroup> |
| 4117 | 4143 |
<col style="width:5%;"> |
| 4118 | 4144 |
<col style="width:7%;"> |
| 4145 |
+ <col style="width:7%;"> |
|
| 4119 | 4146 |
<col style="width:13%;"> |
| 4120 | 4147 |
<col style="width:14%;"> |
| 4121 | 4148 |
<col style="width:15%;"> |
... | ... | @@ -4128,6 +4155,7 @@ |
| 4128 | 4155 |
<tr> |
| 4129 | 4156 |
<th><input type="checkbox" name="checkDelayAll" id="checkAll" onclick="fnCheckAll();" /><label for="checkAll"></label></th> |
| 4130 | 4157 |
<th>종류</th> |
| 4158 |
+ <th>방식</th> |
|
| 4131 | 4159 |
<th>등록일시</th> |
| 4132 | 4160 |
<th>전송일시</th> |
| 4133 | 4161 |
<th>발신번호</th> |
... | ... | @@ -4168,6 +4196,16 @@ |
| 4168 | 4196 |
<c:otherwise> |
| 4169 | 4197 |
장문 |
| 4170 | 4198 |
</c:otherwise> |
| 4199 |
+ </c:choose> |
|
| 4200 |
+ </td> |
|
| 4201 |
+ <td> |
|
| 4202 |
+ <c:choose> |
|
| 4203 |
+ <c:when test="${mjonMsgDelaySentList.sendKind == 'H'}">
|
|
| 4204 |
+ WEB |
|
| 4205 |
+ </c:when> |
|
| 4206 |
+ <c:when test="${mjonMsgDelaySentList.sendKind == 'A'}">
|
|
| 4207 |
+ API |
|
| 4208 |
+ </c:when> |
|
| 4171 | 4209 |
</c:choose> |
| 4172 | 4210 |
</td> |
| 4173 | 4211 |
<td> |
... | ... | @@ -4293,7 +4331,7 @@ |
| 4293 | 4331 |
</c:when> |
| 4294 | 4332 |
<c:otherwise> |
| 4295 | 4333 |
<tr> |
| 4296 |
- <td colspan="9">문자 지연 내역이 없습니다.</td> |
|
| 4334 |
+ <td colspan="10">문자 지연 내역이 없습니다.</td> |
|
| 4297 | 4335 |
</tr> |
| 4298 | 4336 |
</c:otherwise> |
| 4299 | 4337 |
</c:choose> |
--- src/main/webapp/WEB-INF/jsp/uss/ion/msg/MsgDayChart_230125.jsp
+++ src/main/webapp/WEB-INF/jsp/uss/ion/msg/MsgDayChart_230125.jsp
... | ... | @@ -11,14 +11,34 @@ |
| 11 | 11 |
response.setDateHeader("Expires",0);
|
| 12 | 12 |
if (request.getProtocol().equals("HTTP/1.1")) response.setHeader("Cache-Control", "no-cache");
|
| 13 | 13 |
%> |
| 14 |
-<!DOCTYPE html> |
|
| 15 |
-<html lang="ko"> |
|
| 16 |
-<head> |
|
| 17 | 14 |
<title>일별 문자발송건수 통계</title> |
| 18 | 15 |
<meta http-equiv="content-type" content="text/html; charset=utf-8"> |
| 19 | 16 |
<script type="text/javascript" src="<c:url value='/js/EgovMultiFile.js'/>"></script> |
| 20 | 17 |
<script type="text/javascript" src="<c:url value='/js/EgovCalPopup.js'/>"></script> |
| 21 | 18 |
<script type="text/javaScript" language="javascript"> |
| 19 |
+ |
|
| 20 |
+$( document ).ready(function(){
|
|
| 21 |
+ var selectSendKind = $("#sendKind option:selected").val();
|
|
| 22 |
+ |
|
| 23 |
+ if(selectSendKind == "H"){
|
|
| 24 |
+ $('.all').css('display', 'none');
|
|
| 25 |
+ $('.api').css('display', 'none');
|
|
| 26 |
+ setThead(1); |
|
| 27 |
+ }else if(selectSendKind == "A"){
|
|
| 28 |
+ $('.all').css('display', 'none');
|
|
| 29 |
+ $('.homePage').css('display', 'none');
|
|
| 30 |
+ setThead(1); |
|
| 31 |
+ }else{
|
|
| 32 |
+ setThead(3); |
|
| 33 |
+ } |
|
| 34 |
+}); |
|
| 35 |
+ |
|
| 36 |
+function setThead(index){
|
|
| 37 |
+ $("#sendHead").attr('colspan',index);
|
|
| 38 |
+ $("#successHead").attr('colspan',index);
|
|
| 39 |
+ $("#rateHead").attr('colspan',index);
|
|
| 40 |
+} |
|
| 41 |
+ |
|
| 22 | 42 |
function fn_search(){
|
| 23 | 43 |
linkPage(1); |
| 24 | 44 |
} |
... | ... | @@ -48,6 +68,8 @@ |
| 48 | 68 |
$('#ntceEnddeYYYMMDD').val('');
|
| 49 | 69 |
$('#ntceBgnde').val('');
|
| 50 | 70 |
$('#ntceEndde').val('');
|
| 71 |
+ |
|
| 72 |
+ $('#sendKind').val('').prop("selected",true);
|
|
| 51 | 73 |
} |
| 52 | 74 |
|
| 53 | 75 |
//기간선택 select |
... | ... | @@ -89,11 +111,8 @@ |
| 89 | 111 |
cursor: pointer; |
| 90 | 112 |
} |
| 91 | 113 |
</style> |
| 92 |
-</head> |
|
| 93 |
-<body> |
|
| 94 | 114 |
|
| 95 | 115 |
<compress:html> |
| 96 |
- |
|
| 97 | 116 |
|
| 98 | 117 |
<form name="listForm" action="<c:url value='/uss/ion/msg/msgDayChart_230125.do'/>" method="post"> |
| 99 | 118 |
<input name="pageIndex" type="hidden" value="<c:out value='${searchVO.pageIndex}'/>"/>
|
... | ... | @@ -111,6 +130,11 @@ |
| 111 | 130 |
|
| 112 | 131 |
<div class="pageCont"> |
| 113 | 132 |
<div class="listSerch"> |
| 133 |
+ <select id="sendKind" name="sendKind" onchange=""> |
|
| 134 |
+ <option value=""<c:if test="${searchVO.sendKind eq ''}">selected="selected"</c:if>>발송방식 전체</option>
|
|
| 135 |
+ <option value="H"<c:if test="${searchVO.sendKind eq 'H'}">selected="selected"</c:if>>WEB</option>
|
|
| 136 |
+ <option value="A"<c:if test="${searchVO.sendKind eq 'A'}">selected="selected"</c:if>>API</option>
|
|
| 137 |
+ </select> |
|
| 114 | 138 |
<select name="setCalMonth" onchange="fnSetCalMonth(this.value)"> |
| 115 | 139 |
<option value="0">전체</option> |
| 116 | 140 |
<option value="1">1개월</option> |
... | ... | @@ -118,23 +142,21 @@ |
| 118 | 142 |
<option value="6">6개월</option> |
| 119 | 143 |
</select> |
| 120 | 144 |
<input type="hidden" name="cal_url" id="cal_url" value="/sym/cmm/EgovNormalCalPopup.do"> |
| 121 |
- <a href="#" onclick="javascript:fn_egov_NormalCalendar(document.forms.listForm, document.forms.listForm.ntceBgndeYYYMMDD);"> |
|
| 122 |
- <input style="width:auto;min-width: 83px;" type="text" class="date_format" name="ntceBgndeYYYMMDD" id="ntceBgndeYYYMMDD" size="4" maxlength="4" readonly="" |
|
| 123 |
- value="<c:out value="${searchVO.ntceBgnde}" />" >
|
|
| 124 |
- <input type="button" class="calBtn"> |
|
| 125 |
- </a> |
|
| 126 |
- ~ |
|
| 127 |
- <a href="#" onclick="javascript:fn_egov_NormalCalendar(document.forms.listForm, document.forms.listForm.ntceEnddeYYYMMDD);"> |
|
| 128 |
- <input style="width:auto;min-width: 83px;" type="text" class="date_format" name="ntceEnddeYYYMMDD" id="ntceEnddeYYYMMDD" size="4" maxlength="4" readonly="" |
|
| 129 |
- value="<c:out value="${searchVO.ntceEndde}" />"
|
|
| 130 |
- > |
|
| 131 |
- <input type="button" class="calBtn"> |
|
| 132 |
- </a> |
|
| 145 |
+ <a href="#" onclick="javascript:fn_egov_NormalCalendar(document.forms.listForm, document.forms.listForm.ntceBgndeYYYMMDD);"> |
|
| 146 |
+ <input style="width:auto;min-width: 83px;" type="text" class="date_format" name="ntceBgndeYYYMMDD" id="ntceBgndeYYYMMDD" size="4" maxlength="4" readonly="" |
|
| 147 |
+ value="<c:out value="${searchVO.ntceBgnde}" />" >
|
|
| 148 |
+ <input type="button" class="calBtn"> |
|
| 149 |
+ </a> |
|
| 150 |
+ ~ |
|
| 151 |
+ <a href="#" onclick="javascript:fn_egov_NormalCalendar(document.forms.listForm, document.forms.listForm.ntceEnddeYYYMMDD);"> |
|
| 152 |
+ <input style="width:auto;min-width: 83px;" type="text" class="date_format" name="ntceEnddeYYYMMDD" id="ntceEnddeYYYMMDD" size="4" maxlength="4" readonly="" |
|
| 153 |
+ value="<c:out value="${searchVO.ntceEndde}" />" >
|
|
| 154 |
+ <input type="button" class="calBtn"> |
|
| 155 |
+ </a> |
|
| 133 | 156 |
<a href="#" style="margin-left: 17px;" onclick="init_date(); return false;"> |
| 134 | 157 |
<img src="/pb/img/common/topTimeOut.png" alt="타임아웃 아이콘"> |
| 135 | 158 |
</a> |
| 136 | 159 |
<input type="button" class="btnType1" style="margin-left:10px;" value="검색" onclick="fn_search(); return false;"> |
| 137 |
- |
|
| 138 | 160 |
</div> |
| 139 | 161 |
<div class="listTop"> |
| 140 | 162 |
<p class="tType5">총 <span class="tType4 c_456ded fwBold"><fmt:formatNumber value="${paginationInfo.totalRecordCount}" pattern="#,###" /></span>건
|
... | ... | @@ -154,31 +176,78 @@ |
| 154 | 176 |
<div class="tableWrap"> |
| 155 | 177 |
<table class="tbType1"> |
| 156 | 178 |
<colgroup> |
| 157 |
- <col style="width: auto;"> |
|
| 158 | 179 |
<col style="width: 25%"> |
| 159 |
- <col style="width: 25%"> |
|
| 160 |
- <col style="width: 25%"> |
|
| 180 |
+ <col style="width: 25%" class="all"> |
|
| 181 |
+ <col style="width: 25%" class="homePage"> |
|
| 182 |
+ <col style="width: 25%" class="api"> |
|
| 183 |
+ <col style="width: 25%" class="all"> |
|
| 184 |
+ <col style="width: 25%" class="homePage"> |
|
| 185 |
+ <col style="width: 25%" class="api"> |
|
| 186 |
+ <col style="width: 25%" class="all"> |
|
| 187 |
+ <col style="width: 25%" class="homePage"> |
|
| 188 |
+ <col style="width: 25%" class="api"> |
|
| 161 | 189 |
</colgroup> |
| 162 | 190 |
<thead> |
| 163 | 191 |
<tr> |
| 164 |
- <th>발송일</th> |
|
| 165 |
- <th>발송건수</th> |
|
| 166 |
- <th>성공건수</th> |
|
| 167 |
- <th>성공율</th> |
|
| 192 |
+ <th rowspan="2" style="vertical-align: middle;">발송일</th> |
|
| 193 |
+ <th id="sendHead">발송건수</th> |
|
| 194 |
+ <th id="successHead">성공건수</th> |
|
| 195 |
+ <th id="rateHead">성공율</th> |
|
| 196 |
+ </tr> |
|
| 197 |
+ <tr> |
|
| 198 |
+ <th class="all">전체</th> |
|
| 199 |
+ <th class="homePage">WEB</th> |
|
| 200 |
+ <th class="api">API</th> |
|
| 201 |
+ <th class="all">전체</th> |
|
| 202 |
+ <th class="homePage">WEB</th> |
|
| 203 |
+ <th class="api">API</th> |
|
| 204 |
+ <th class="all">전체</th> |
|
| 205 |
+ <th class="homePage">WEB</th> |
|
| 206 |
+ <th class="api">API</th> |
|
| 168 | 207 |
</tr> |
| 169 | 208 |
</thead> |
| 170 | 209 |
<tbody> |
| 171 | 210 |
<c:forEach var="result" items="${resultList}" varStatus="status">
|
| 172 | 211 |
<tr> |
| 173 |
- <td><c:out value="${result.regDate}"/></td>
|
|
| 174 |
- <td><fmt:formatNumber value="${result.sendCount}" pattern="#,###" /></td>
|
|
| 175 |
- <td><fmt:formatNumber value="${result.successCount}" pattern="#,###" /></td>
|
|
| 176 |
- <td><fmt:formatNumber value="${(result.successCount / result.sendCount) * 100}" pattern="#,###" />%</td>
|
|
| 212 |
+ <td> |
|
| 213 |
+ <c:out value="${result.regDate}"/>
|
|
| 214 |
+ </td> |
|
| 215 |
+ <td class="all"> |
|
| 216 |
+ <fmt:formatNumber value="${result.totalSendCount}" pattern="#,###" />
|
|
| 217 |
+ </td> |
|
| 218 |
+ <td class="homePage"> |
|
| 219 |
+ <fmt:formatNumber value="${result.sendCount}" pattern="#,###" />
|
|
| 220 |
+ </td> |
|
| 221 |
+ <td class="api"> |
|
| 222 |
+ <fmt:formatNumber value="${result.aSendCount}" pattern="#,###" />
|
|
| 223 |
+ </td> |
|
| 224 |
+ |
|
| 225 |
+ <td class="all"> |
|
| 226 |
+ <fmt:formatNumber value="${result.totalSuccessCount}" pattern="#,###" />
|
|
| 227 |
+ </td> |
|
| 228 |
+ <td class="homePage"> |
|
| 229 |
+ <fmt:formatNumber value="${result.successCount}" pattern="#,###" />
|
|
| 230 |
+ </td> |
|
| 231 |
+ <td class="api"> |
|
| 232 |
+ <fmt:formatNumber value="${result.aSuccessCount}" pattern="#,###" />
|
|
| 233 |
+ </td> |
|
| 234 |
+ |
|
| 235 |
+ <td class="all"> |
|
| 236 |
+ <fmt:formatNumber value="${result.rateTotalSuccessCount}" pattern="#,###" />%
|
|
| 237 |
+ </td> |
|
| 238 |
+ <td class="homePage"> |
|
| 239 |
+ <fmt:formatNumber value="${result.rateSuccessCount}" pattern="#,###" />%
|
|
| 240 |
+ </td> |
|
| 241 |
+ <td class="api"> |
|
| 242 |
+ <fmt:formatNumber value="${result.rateApiSuccessCount}" pattern="#,###" />%
|
|
| 243 |
+ </td> |
|
| 177 | 244 |
</tr> |
| 178 | 245 |
</c:forEach> |
| 179 | 246 |
<c:if test="${empty resultList}">
|
| 180 |
- <tr><td colspan="4"><spring:message code="common.nodata.msg" /></td></tr> |
|
| 181 |
- </c:if> |
|
| 247 |
+ <tr> |
|
| 248 |
+ <td colspan="10"><spring:message code="common.nodata.msg" /></td> |
|
| 249 |
+ </tr> |
|
| 250 |
+ </c:if> |
|
| 182 | 251 |
</tbody> |
| 183 | 252 |
</table> |
| 184 | 253 |
</div> |
... | ... | @@ -186,16 +255,14 @@ |
| 186 | 255 |
</div> |
| 187 | 256 |
<!-- 페이지 네비게이션 시작 --> |
| 188 | 257 |
<c:if test="${!empty resultList}">
|
| 189 |
- <div class="page"> |
|
| 190 |
- <ul class="inline"> |
|
| 191 |
- <ui:pagination paginationInfo = "${paginationInfo}" type="image" jsFunction="linkPage" />
|
|
| 192 |
- </ul> |
|
| 193 |
- </div> |
|
| 194 |
- </c:if> |
|
| 195 |
- <!-- //페이지 네비게이션 끝 --> |
|
| 258 |
+ <div class="page"> |
|
| 259 |
+ <ul class="inline"> |
|
| 260 |
+ <ui:pagination paginationInfo = "${paginationInfo}" type="image" jsFunction="linkPage" />
|
|
| 261 |
+ </ul> |
|
| 262 |
+ </div> |
|
| 263 |
+ </c:if> |
|
| 264 |
+ <!-- //페이지 네비게이션 끝 --> |
|
| 196 | 265 |
</div> |
| 197 | 266 |
</div> |
| 198 | 267 |
</form> |
| 199 | 268 |
</compress:html> |
| 200 |
-</body> |
|
| 201 |
-</html> |
--- src/main/webapp/WEB-INF/jsp/uss/ion/msg/MsgMonthChart_230125.jsp
+++ src/main/webapp/WEB-INF/jsp/uss/ion/msg/MsgMonthChart_230125.jsp
... | ... | @@ -11,9 +11,6 @@ |
| 11 | 11 |
response.setDateHeader("Expires",0);
|
| 12 | 12 |
if (request.getProtocol().equals("HTTP/1.1")) response.setHeader("Cache-Control", "no-cache");
|
| 13 | 13 |
%> |
| 14 |
-<!DOCTYPE html> |
|
| 15 |
-<html lang="ko"> |
|
| 16 |
-<head> |
|
| 17 | 14 |
<title>월별 문자발송건수 통계</title> |
| 18 | 15 |
<meta http-equiv="content-type" content="text/html; charset=utf-8"> |
| 19 | 16 |
<script type="text/javascript" src="<c:url value='/js/EgovMultiFile.js'/>"></script> |
... | ... | @@ -30,20 +27,31 @@ |
| 30 | 27 |
} |
| 31 | 28 |
/* $('#searchYear').find('option:contains("${searchVO.ntceBgnde}")').attr("selected",true); */
|
| 32 | 29 |
$('#searchYear').find('option[value="${searchVO.ntceBgnde}"]').attr("selected",true);
|
| 30 |
+ |
|
| 31 |
+ |
|
| 32 |
+ var selectSendKind = $("#sendKind option:selected").val();
|
|
| 33 |
+ |
|
| 34 |
+ if(selectSendKind == "H"){
|
|
| 35 |
+ $('.all').css('display', 'none');
|
|
| 36 |
+ $('.api').css('display', 'none');
|
|
| 37 |
+ setThead(1); |
|
| 38 |
+ }else if(selectSendKind == "A"){
|
|
| 39 |
+ $('.all').css('display', 'none');
|
|
| 40 |
+ $('.homePage').css('display', 'none');
|
|
| 41 |
+ setThead(1); |
|
| 42 |
+ }else{
|
|
| 43 |
+ setThead(3); |
|
| 44 |
+ } |
|
| 33 | 45 |
}); |
| 34 | 46 |
|
| 35 |
- |
|
| 36 |
- |
|
| 37 |
- function linkPage(){
|
|
| 47 |
+function setThead(index){
|
|
| 48 |
+ $("#sendHead").attr('colspan',index);
|
|
| 49 |
+ $("#successHead").attr('colspan',index);
|
|
| 50 |
+ $("#rateHead").attr('colspan',index);
|
|
| 51 |
+} |
|
| 52 |
+ |
|
| 53 |
+function linkPage(){
|
|
| 38 | 54 |
var listForm = document.listForm ; |
| 39 |
- /* if( $('#ntceBgndeYYYMMDD').val() != '' && $('#ntceEnddeYYYMMDD').val() != '' ){
|
|
| 40 |
- var iChkBeginDe = Number($('#ntceBgndeYYYMMDD').val().replaceAll("-", ""));
|
|
| 41 |
- var iChkEndDe = Number($('#ntceEnddeYYYMMDD').val().replaceAll("-", ""));
|
|
| 42 |
- if(iChkBeginDe > iChkEndDe || iChkEndDe < iChkBeginDe ){
|
|
| 43 |
- alert("검색 시작 일자는 종료 일자 보다 클 수 없습니다.");
|
|
| 44 |
- return; |
|
| 45 |
- } |
|
| 46 |
- } */ |
|
| 47 | 55 |
$('#ntceBgnde').val($('#searchYear option:selected').val());
|
| 48 | 56 |
listForm.submit(); |
| 49 | 57 |
} |
... | ... | @@ -63,8 +71,6 @@ |
| 63 | 71 |
cursor: pointer; |
| 64 | 72 |
} |
| 65 | 73 |
</style> |
| 66 |
-</head> |
|
| 67 |
-<body> |
|
| 68 | 74 |
|
| 69 | 75 |
<compress:html> |
| 70 | 76 |
|
... | ... | @@ -84,60 +90,95 @@ |
| 84 | 90 |
|
| 85 | 91 |
<div class="pageCont"> |
| 86 | 92 |
<div class="listSerch"> |
| 87 |
- <%-- <input type="hidden" name="cal_url" id="cal_url" value="/sym/cmm/EgovNormalCalPopup.do"> |
|
| 88 |
- <a href="#" onclick="javascript:fn_egov_NormalCalendar(document.forms.listForm, document.forms.listForm.ntceBgndeYYYMMDD);"> |
|
| 89 |
- <input style="width:auto;min-width: 83px;" type="text" class="date_format" name="ntceBgndeYYYMMDD" id="ntceBgndeYYYMMDD" size="4" maxlength="4" readonly="" |
|
| 90 |
- value="<c:out value="${searchVO.ntceBgnde}" />" >
|
|
| 91 |
- <input type="button" class="calBtn"> |
|
| 92 |
- </a> |
|
| 93 |
- ~ |
|
| 94 |
- <a href="#" onclick="javascript:fn_egov_NormalCalendar(document.forms.listForm, document.forms.listForm.ntceEnddeYYYMMDD);"> |
|
| 95 |
- <input style="width:auto;min-width: 83px;" type="text" class="date_format" name="ntceEnddeYYYMMDD" id="ntceEnddeYYYMMDD" size="4" maxlength="4" readonly="" |
|
| 96 |
- value="<c:out value="${searchVO.ntceEndde}" />"
|
|
| 97 |
- > |
|
| 98 |
- <input type="button" class="calBtn"> |
|
| 99 |
- </a> |
|
| 100 |
- <a href="#" style="margin-left: 17px;" onclick="init_date(); return false;"> |
|
| 101 |
- <img src="/pb/img/common/topTimeOut.png" alt="타임아웃 아이콘"> |
|
| 102 |
- </a> |
|
| 103 |
- <input type="button" class="btnType1" style="margin-left:10px;" value="검색" onclick="fn_search(); return false;"> --%> |
|
| 93 |
+ <select id="sendKind" name="sendKind" onchange="linkPage();"> |
|
| 94 |
+ <option value=""<c:if test="${searchVO.sendKind eq ''}">selected="selected"</c:if>>발송방식 전체</option>
|
|
| 95 |
+ <option value="H"<c:if test="${searchVO.sendKind eq 'H'}">selected="selected"</c:if>>WEB</option>
|
|
| 96 |
+ <option value="A"<c:if test="${searchVO.sendKind eq 'A'}">selected="selected"</c:if>>API</option>
|
|
| 97 |
+ </select> |
|
| 104 | 98 |
<select id="searchYear" name="searchYear" onchange="linkPage();"></select> |
| 105 |
- <br/><br/> |
|
| 106 |
- <c:if test="${sttstDate ne '' and sttstDate ne null }">
|
|
| 107 |
- (집계 일시 : ${sttstDate}(금일))
|
|
| 108 |
- </c:if> |
|
| 109 | 99 |
</div> |
| 110 |
- <%-- <div class="listTop"> |
|
| 111 |
- <p class="tType5">총 <span class="tType4 c_456ded fwBold"><fmt:formatNumber value="${paginationInfo.totalRecordCount}" pattern="#,###" /></span>건</p>
|
|
| 112 |
- </div> --%> |
|
| 100 |
+ <div class="listTop"> |
|
| 101 |
+ <p class="tType5"> |
|
| 102 |
+ <c:if test="${sttstDate ne '' and sttstDate ne null }">
|
|
| 103 |
+ (집계 일시 : ${sttstDate}(금일))
|
|
| 104 |
+ </c:if> |
|
| 105 |
+ </p> |
|
| 106 |
+ </div> |
|
| 113 | 107 |
<div class="tableWrap"> |
| 114 | 108 |
<table class="tbType1"> |
| 115 | 109 |
<colgroup> |
| 116 |
- <col style="width: auto;"> |
|
| 117 | 110 |
<col style="width: 25%"> |
| 118 |
- <col style="width: 25%"> |
|
| 119 |
- <col style="width: 25%"> |
|
| 111 |
+ <col style="width: 25%" class="all"> |
|
| 112 |
+ <col style="width: 25%" class="homePage"> |
|
| 113 |
+ <col style="width: 25%" class="api"> |
|
| 114 |
+ <col style="width: 25%" class="all"> |
|
| 115 |
+ <col style="width: 25%" class="homePage"> |
|
| 116 |
+ <col style="width: 25%" class="api"> |
|
| 117 |
+ <col style="width: 25%" class="all"> |
|
| 118 |
+ <col style="width: 25%" class="homePage"> |
|
| 119 |
+ <col style="width: 25%" class="api"> |
|
| 120 | 120 |
</colgroup> |
| 121 | 121 |
<thead> |
| 122 | 122 |
<tr> |
| 123 |
- <th>발송월</th> |
|
| 124 |
- <th>발송건수</th> |
|
| 125 |
- <th>성공건수</th> |
|
| 126 |
- <th>성공율</th> |
|
| 123 |
+ <th rowspan="2" style="vertical-align: middle;">발송일</th> |
|
| 124 |
+ <th id="sendHead">발송건수</th> |
|
| 125 |
+ <th id="successHead">성공건수</th> |
|
| 126 |
+ <th id="rateHead">성공율</th> |
|
| 127 |
+ </tr> |
|
| 128 |
+ <tr> |
|
| 129 |
+ <th class="all">전체</th> |
|
| 130 |
+ <th class="homePage">WEB</th> |
|
| 131 |
+ <th class="api">API</th> |
|
| 132 |
+ <th class="all">전체</th> |
|
| 133 |
+ <th class="homePage">WEB</th> |
|
| 134 |
+ <th class="api">API</th> |
|
| 135 |
+ <th class="all">전체</th> |
|
| 136 |
+ <th class="homePage">WEB</th> |
|
| 137 |
+ <th class="api">API</th> |
|
| 127 | 138 |
</tr> |
| 128 | 139 |
</thead> |
| 129 | 140 |
<tbody> |
| 130 | 141 |
<c:forEach var="result" items="${resultList}" varStatus="status">
|
| 131 | 142 |
<tr> |
| 132 |
- <td><c:out value="${result.regDate}"/></td>
|
|
| 133 |
- <td><fmt:formatNumber value="${result.sendCount}" pattern="#,###" /></td>
|
|
| 134 |
- <td><fmt:formatNumber value="${result.successCount}" pattern="#,###" /></td>
|
|
| 135 |
- <td><fmt:formatNumber value="${(result.successCount / result.sendCount) * 100}" pattern="#,###" />%</td>
|
|
| 143 |
+ <td> |
|
| 144 |
+ <c:out value="${result.regDate}"/>
|
|
| 145 |
+ </td> |
|
| 146 |
+ <td class="all"> |
|
| 147 |
+ <fmt:formatNumber value="${result.totalSendCount}" pattern="#,###" />
|
|
| 148 |
+ </td> |
|
| 149 |
+ <td class="homePage"> |
|
| 150 |
+ <fmt:formatNumber value="${result.sendCount}" pattern="#,###" />
|
|
| 151 |
+ </td> |
|
| 152 |
+ <td class="api"> |
|
| 153 |
+ <fmt:formatNumber value="${result.aSendCount}" pattern="#,###" />
|
|
| 154 |
+ </td> |
|
| 155 |
+ |
|
| 156 |
+ <td class="all"> |
|
| 157 |
+ <fmt:formatNumber value="${result.totalSuccessCount}" pattern="#,###" />
|
|
| 158 |
+ </td> |
|
| 159 |
+ <td class="homePage"> |
|
| 160 |
+ <fmt:formatNumber value="${result.successCount}" pattern="#,###" />
|
|
| 161 |
+ </td> |
|
| 162 |
+ <td class="api"> |
|
| 163 |
+ <fmt:formatNumber value="${result.aSuccessCount}" pattern="#,###" />
|
|
| 164 |
+ </td> |
|
| 165 |
+ |
|
| 166 |
+ <td class="all"> |
|
| 167 |
+ <fmt:formatNumber value="${result.rateTotalSuccessCount}" pattern="#,###" />%
|
|
| 168 |
+ </td> |
|
| 169 |
+ <td class="homePage"> |
|
| 170 |
+ <fmt:formatNumber value="${result.rateSuccessCount}" pattern="#,###.##" />%
|
|
| 171 |
+ </td> |
|
| 172 |
+ <td class="api"> |
|
| 173 |
+ <fmt:formatNumber value="${result.rateApiSuccessCount}" pattern="#,###" />%
|
|
| 174 |
+ </td> |
|
| 136 | 175 |
</tr> |
| 137 | 176 |
</c:forEach> |
| 138 | 177 |
<c:if test="${empty resultList}">
|
| 139 |
- <tr><td colspan="4"><spring:message code="common.nodata.msg" /></td></tr> |
|
| 140 |
- </c:if> |
|
| 178 |
+ <tr> |
|
| 179 |
+ <td colspan="10"><spring:message code="common.nodata.msg" /></td> |
|
| 180 |
+ </tr> |
|
| 181 |
+ </c:if> |
|
| 141 | 182 |
</tbody> |
| 142 | 183 |
</table> |
| 143 | 184 |
</div> |
... | ... | @@ -145,5 +186,3 @@ |
| 145 | 186 |
</div> |
| 146 | 187 |
</form> |
| 147 | 188 |
</compress:html> |
| 148 |
-</body> |
|
| 149 |
-</html> |
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?