20250110_1

main
seokjun jeon 2 weeks ago
parent 04a86dd920
commit e3caf0649e

@ -18,8 +18,9 @@ public class MessageSendServiceDslImpl implements MessageSendServiceDsl {
@Override @Override
public void insertSendLog(SejongMessageSendResponse response, MessageSendRequest request, MessageSendResponse messageSendResponse) { public void insertSendLog(SejongMessageSendResponse response, MessageSendRequest request, MessageSendResponse messageSendResponse) {
System.out.print("jsj1");
String sendYn = messageSendResponse.getCode().equals("200") ? "Y" : "N"; String sendYn = messageSendResponse.getCode().equals("200") ? "Y" : "N";
System.out.print("jsj2");
MessageSendLogInfo messageSendLogInfo = new MessageSendLogInfo.Builder() MessageSendLogInfo messageSendLogInfo = new MessageSendLogInfo.Builder()
.setSendYn(sendYn) .setSendYn(sendYn)
.setUserKey(request.getUserKey()) .setUserKey(request.getUserKey())
@ -40,8 +41,9 @@ public class MessageSendServiceDslImpl implements MessageSendServiceDsl {
.setRegistDate(LocalDateTime.now()) .setRegistDate(LocalDateTime.now())
.setOptionYn(request.getOptionYn()) .setOptionYn(request.getOptionYn())
.build(); .build();
System.out.print("jsj3");
messageSendLogMapper.insertSendLog(messageSendLogInfo); messageSendLogMapper.insertSendLog(messageSendLogInfo);
System.out.print("jsj4");
} }
@Override @Override

Loading…
Cancel
Save