From 00dbcec1dc62795fc03eb38939e78e9d940a8b00 Mon Sep 17 00:00:00 2001 From: kric_jspark Date: Fri, 6 Mar 2026 12:01:25 +0900 Subject: [PATCH] =?UTF-8?q?260306=5F01=5FENH:=20=EB=B9=84=EC=A6=88=20?= =?UTF-8?q?=EB=BF=8C=EB=A6=AC=EC=98=A4=20=EC=8A=A4=EC=BC=80=EC=A5=B4?= =?UTF-8?q?=EB=9F=AC=EC=97=90=20=EC=B9=B4=EC=B9=B4=EC=98=A4=20=EC=95=8C?= =?UTF-8?q?=EB=A6=BC=ED=86=A1=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/kri/notihub/server/common/consts/NotihubConst.java | 1 - .../kri/notihub/server/scheduler/BizLogResultScheduler.java | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/kri/notihub/server/common/consts/NotihubConst.java b/src/main/java/com/kri/notihub/server/common/consts/NotihubConst.java index 119f150..8e2321a 100644 --- a/src/main/java/com/kri/notihub/server/common/consts/NotihubConst.java +++ b/src/main/java/com/kri/notihub/server/common/consts/NotihubConst.java @@ -29,7 +29,6 @@ public final class NotihubConst { public static final short LMS_MMS_SUCCESS = 6600; public static final short KKO_AT_STANDBY = 7900; public static final short KKO_AT_SUCCESS = 7000; - public static final short KKO_AT_NOT_RESULT = 7999; private NotihubConst() { } diff --git a/src/main/java/com/kri/notihub/server/scheduler/BizLogResultScheduler.java b/src/main/java/com/kri/notihub/server/scheduler/BizLogResultScheduler.java index 33d9df2..1613b72 100644 --- a/src/main/java/com/kri/notihub/server/scheduler/BizLogResultScheduler.java +++ b/src/main/java/com/kri/notihub/server/scheduler/BizLogResultScheduler.java @@ -43,7 +43,7 @@ public class BizLogResultScheduler { TimeWindow window = buildWindow(1L); // hours는 추후 파라미터화 - List sendTyList = List.of(SendType.SMS.getCode(), SendType.LMS_MMS.getCode()); + List sendTyList = List.of(SendType.SMS.getCode(), SendType.LMS_MMS.getCode(), SendType.KKO_AT.getCode()); while (true) { List batch = fetchRefreshTargets(sendTyList, window, 1000); @@ -138,7 +138,7 @@ public class BizLogResultScheduler { } Short resultCode = s.getResultCode(); return resultCode != null - && (resultCode == NotihubConst.SMS_STANDBY || resultCode == NotihubConst.LMS_MMS_STANDBY); + && (resultCode == NotihubConst.SMS_STANDBY || resultCode == NotihubConst.LMS_MMS_STANDBY || resultCode == NotihubConst.KKO_AT_STANDBY); } /** @@ -248,7 +248,7 @@ public class BizLogResultScheduler { short callStatus = safeParseShort(log.getCallStatus(), NotihubConst.SMS_NOT_RESULT); - if (callStatus == NotihubConst.SMS_SUCCESS || callStatus == NotihubConst.LMS_MMS_SUCCESS) { + if (callStatus == NotihubConst.SMS_SUCCESS || callStatus == NotihubConst.LMS_MMS_SUCCESS || callStatus == NotihubConst.KKO_AT_SUCCESS) { s.setSendStatus(SendStatusType.SUCCESS.getCode()); s.setResultCode(callStatus); } else {