이지우 관리자 알림독 오류 수정
@48605b30c83334ce93212047ad478ae6d220cfa6
--- src/main/resources/egovframework/sqlmap/let/kakao/MjonKakaoATData_SQL_mysql.xml
+++ src/main/resources/egovframework/sqlmap/let/kakao/MjonKakaoATData_SQL_mysql.xml
... | ... | @@ -201,6 +201,7 @@ |
| 201 | 201 |
</isNotEmpty> |
| 202 | 202 |
AND MG.DEL_FLAG ='N' |
| 203 | 203 |
AND MG.RESERVE_C_YN = 'N' |
| 204 |
+ AND MG.MSG_TYPE = '8' |
|
| 204 | 205 |
)M |
| 205 | 206 |
LEFT JOIN MJ_KAKAO_PROFILE_INFO MKPI |
| 206 | 207 |
ON M.MSG_NOTICETALK_SENDER_KEY = MKPI.SENDER_KEY |
... | ... | @@ -876,6 +877,7 @@ |
| 876 | 877 |
</isNotEmpty> |
| 877 | 878 |
AND MG.DEL_FLAG ='N' |
| 878 | 879 |
AND MG.RESERVE_C_YN = 'N' |
| 880 |
+ AND MG.MSG_TYPE = '8' |
|
| 879 | 881 |
)M |
| 880 | 882 |
LEFT JOIN MJ_KAKAO_PROFILE_INFO MKPI |
| 881 | 883 |
ON M.MSG_NOTICETALK_SENDER_KEY = MKPI.SENDER_KEY |
--- src/main/webapp/sample_mjon/jsp_example_start_form_r1.jsp
+++ src/main/webapp/sample_mjon/jsp_example_start_form_r1.jsp
... | ... | @@ -1,102 +1,7 @@ |
| 1 | 1 |
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> |
| 2 | 2 |
<script type="text/javascript" src="./jquery-3.5.0.js"></script> |
| 3 |
- |
|
| 4 |
- <script type="text/javascript"> |
|
| 5 |
- $(document).ready(function(){
|
|
| 6 |
- |
|
| 7 |
- //대량문자발송 |
|
| 8 |
- $("#ajax_select_price").click(function(){
|
|
| 9 |
- |
|
| 10 |
- $("span#mgi").text("");
|
|
| 11 |
- $("span#sc").text("");
|
|
| 12 |
- $("span#fc").text("");
|
|
| 13 |
- $("span#bc").text("");
|
|
| 14 |
- $("span#mt").text("");
|
|
| 15 |
- |
|
| 16 |
- //document.updatePasswordForm.action = '/web/user/sendRESTAPI_test_r1_send.do'; |
|
| 17 |
- //document.updatePasswordForm.submit(); |
|
| 18 |
- |
|
| 19 |
- var searchWebParam = {
|
|
| 20 |
- 'p_mberId' : $('#mberId').val()
|
|
| 21 |
- , 'p_apiKey' : $('#apiKey').val()
|
|
| 22 |
- |
|
| 23 |
- , 'p_callFrom' : $('#callFrom').val()
|
|
| 24 |
- |
|
| 25 |
- }; |
|
| 26 |
- |
|
| 27 |
- var tagId = ""; |
|
| 28 |
- $.each($('.input_list input'), function (index, tag){
|
|
| 29 |
- |
|
| 30 |
- tagId = $(tag).attr('id');
|
|
| 31 |
- if(tagId.startsWith('p_callTo') || tagId.startsWith('p_smsTxt')){
|
|
| 32 |
- |
|
| 33 |
- searchWebParam[tagId] = $(tag).val(); |
|
| 34 |
- } |
|
| 35 |
- }); |
|
| 36 |
- |
|
| 37 |
- //검색 API를 Ajax로 이용 하기 위한 호출 |
|
| 38 |
- $.ajax({
|
|
| 39 |
- url : "/jsp_example_send_msgs_r1.jsp", |
|
| 40 |
- //형식을 json으로 받을 것이기 때문에 지정하여 주었습니다. |
|
| 41 |
- dataType : "json", |
|
| 42 |
- async : false, |
|
| 43 |
- type : "POST", |
|
| 44 |
- |
|
| 45 |
- data : searchWebParam, |
|
| 46 |
- |
|
| 47 |
- success: function (returnData, status) {
|
|
| 48 |
- |
|
| 49 |
- if (returnData.resultCode=="0"){
|
|
| 50 |
- $("span#mgi").text(returnData.data.msgGroupId);
|
|
| 51 |
- $("span#sc").text(returnData.data.successCnt);
|
|
| 52 |
- $("span#fc").text(returnData.data.failCnt);
|
|
| 53 |
- $("span#bc").text(returnData.data.blockCnt);
|
|
| 54 |
- $("span#mt").text(returnData.data.msgType);
|
|
| 55 |
- |
|
| 56 |
- } else{
|
|
| 57 |
- alert(returnData.resultCode+" : "+returnData.data); |
|
| 58 |
- } |
|
| 59 |
- |
|
| 60 |
- }, |
|
| 61 |
- |
|
| 62 |
- error : function(request, status, error){
|
|
| 63 |
- alert(request+"///"+error+"///"+status+"///"+"AJAX_ERROR"); |
|
| 64 |
- console.log("AJAX_ERROR");
|
|
| 65 |
- } |
|
| 66 |
- }); |
|
| 67 |
- |
|
| 68 |
- }); |
|
| 69 |
- |
|
| 70 |
- // 수신자 추가 버튼 |
|
| 71 |
- $('#sendAdd').click(function(){
|
|
| 72 |
- |
|
| 73 |
- |
|
| 74 |
- var nextId = $('.callTo').length+1;
|
|
| 75 |
- var textData = '<div class="input_list_item">' |
|
| 76 |
- + '<div class="input_left">p_callTo_'+nextId+'' |
|
| 77 |
- + '<input type="text" class="list_inputType1 callTo" id="p_callTo_'+nextId+'" maxlength="100" value="">' |
|
| 78 |
- + '</div>' |
|
| 79 |
- +'</div>' |
|
| 80 |
- +'<div class="input_list_item">' |
|
| 81 |
- + '<div class="input_left">p_smsTxt_'+nextId+'' |
|
| 82 |
- + '<input type="text" class="list_inputType1 smsTxt" id="p_smsTxt_'+nextId+'" maxlength="100" value="">' |
|
| 83 |
- + '</div>' |
|
| 84 |
- +'</div>' |
|
| 85 |
- ; |
|
| 86 |
- |
|
| 87 |
- $('.input_list').append(textData);
|
|
| 88 |
- |
|
| 89 |
- |
|
| 90 |
- |
|
| 91 |
- }); |
|
| 92 |
- |
|
| 93 |
- }); |
|
| 94 |
- |
|
| 95 |
- </script> |
|
| 96 |
- |
|
| 97 | 3 |
|
| 98 | 4 |
<div class="inner"> |
| 99 |
- <!-- send top --> |
|
| 100 | 5 |
<div class="send_top"> |
| 101 | 6 |
|
| 102 | 7 |
<div class="mypage_content current" id="tab5_3"> |
... | ... | @@ -104,17 +9,15 @@ |
| 104 | 9 |
<h2>REST API(샘플-문자온)</h2> |
| 105 | 10 |
</div> |
| 106 | 11 |
<div class="heading"> |
| 107 |
- <h2><a href="./jsp_example_send_msg_form_r1.jsp">1.문자발송</a></h2> |
|
| 12 |
+ <!-- 메뉴별 샘플 이동 링크 --> |
|
| 13 |
+ <h2><a href="./jsp_example_send_msg_form_r1.jsp">1.문자발송</a></h2> |
|
| 108 | 14 |
<h2><a href="./jsp_example_send_msgs_form_r1.jsp">2.대량문자발송</a></h2> |
| 109 | 15 |
<h2><a href="./jsp_example_hstry_form_r1.jsp">3.전체발송내역</a></h2> |
| 110 | 16 |
<h2><a href="./jsp_example_hstry_detail_form_r1.jsp">4.상세발송내역</a></h2> |
| 111 | 17 |
<h2><a href="./jsp_example_select_price_form_r1.jsp">5.발송가능건수</a></h2> |
| 112 |
- </div> |
|
| 113 |
- |
|
| 18 |
+ </div> |
|
| 19 |
+ |
|
| 114 | 20 |
</div> |
| 115 |
- <!--// 마이페이지 - 비밀번호 변경 --> |
|
| 116 | 21 |
</div> |
| 117 |
- <!--// send top --> |
|
| 118 | 22 |
</div> |
| 119 |
-<!--// content 영역 --> |
|
| 120 | 23 |
|
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?