260306_01_ENH: 비즈 뿌리오 스케쥴러에 카카오 알림톡 추가

This commit is contained in:
2026-03-06 12:01:25 +09:00
parent efc49bea23
commit 00dbcec1dc
2 changed files with 3 additions and 4 deletions

View File

@@ -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() {
}

View File

@@ -43,7 +43,7 @@ public class BizLogResultScheduler {
TimeWindow window = buildWindow(1L); // hours는 추후 파라미터화
List<Short> sendTyList = List.of(SendType.SMS.getCode(), SendType.LMS_MMS.getCode());
List<Short> sendTyList = List.of(SendType.SMS.getCode(), SendType.LMS_MMS.getCode(), SendType.KKO_AT.getCode());
while (true) {
List<TSendEntity> 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 {