From 69c388ab5b2fa907f51fd506bde5d7e7bbeda42e Mon Sep 17 00:00:00 2001 From: seokjun jeon Date: Mon, 13 Jan 2025 14:10:46 +0900 Subject: [PATCH] 20250113_6 --- src/main/java/com/icomsys/MessagingConnector.java | 6 +++++- .../java/com/icomsys/dsl/MessageSendServiceDslImpl.java | 6 ++++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/icomsys/MessagingConnector.java b/src/main/java/com/icomsys/MessagingConnector.java index fbefefa..5b85743 100644 --- a/src/main/java/com/icomsys/MessagingConnector.java +++ b/src/main/java/com/icomsys/MessagingConnector.java @@ -184,10 +184,14 @@ public class MessagingConnector { } // Response 변환 messageSendResponse = this.responseChange(sejongMessageSendResponse, messageSendRequest); - + System.out.println("sejongMessageSendResponse : " + sejongMessageSendResponse); + System.out.println("messageSendRequest : " + messageSendRequest); + System.out.println("messageSendResponse : " + messageSendResponse); // 메시지 전송 Log Insert messageSendServiceDsl.insertSendLog(sejongMessageSendResponse, messageSendRequest, messageSendResponse); + System.out.println("insertSendLog123123123"); + // log.info(String.valueOf(seq)); // 알림톡 발송 실패 시 SMS, LMS로 전송 if (messageSendRequest.getSendType().equals("KAKAO") && messageSendRequest.getOptionYn().equals("Y")) { diff --git a/src/main/java/com/icomsys/dsl/MessageSendServiceDslImpl.java b/src/main/java/com/icomsys/dsl/MessageSendServiceDslImpl.java index 740a951..9cc8258 100644 --- a/src/main/java/com/icomsys/dsl/MessageSendServiceDslImpl.java +++ b/src/main/java/com/icomsys/dsl/MessageSendServiceDslImpl.java @@ -18,7 +18,7 @@ public class MessageSendServiceDslImpl implements MessageSendServiceDsl { @Override public void insertSendLog(SejongMessageSendResponse response, MessageSendRequest request, MessageSendResponse messageSendResponse) { - + System.out.println("insertSendLog2222"); String sendYn; if (messageSendResponse.getCode().equals("200")) { sendYn = "Y"; @@ -26,6 +26,7 @@ public class MessageSendServiceDslImpl implements MessageSendServiceDsl { else { sendYn = "N"; } + System.out.println("insertSendLog3333"); MessageSendLogInfo messageSendLogInfo = MessageSendLogInfo.builder() .sendYn(sendYn) .userKey(request.getUserKey()) @@ -47,8 +48,9 @@ public class MessageSendServiceDslImpl implements MessageSendServiceDsl { .registDate(LocalDateTime.now()) .optionYn(request.getOptionYn()) .build(); - + System.out.println("insertSendLog4444" + messageSendLogInfo); messageSendLogMapper.insertSendLog(messageSendLogInfo); + System.out.println("insertSendLog5555"); } @Override