feat: 카카오톡 추가 반영 - status

- 상태조회 결과 반영시 시간 데이타 포맷 변령
        -> yyyyMMddHHmmss
main
Jonguk. Lim 2 months ago
parent e132e52a62
commit 87885b91a7

@ -69,6 +69,8 @@ select * from ENS_NICE_JID_MNG order by REGIST_DT desc;
select * from ENS_NICE_CI_MNG order by regist_dt desc;
select to_char(to_timestamp(sendDetailKkoTalk.sentAt, 'yyyy-mm-dd"T"hh24:mi:ss'), 'yyyymmddhh24miss')
from dual;
select *

@ -280,14 +280,14 @@ public class KkoTalkRsltFetcher extends ResultProcTemplate {
.envelopeId(row.getEnvelopeId())
.externalId(row.getExternalId())
.status(statusData.containsKey("status") ? (String) statusData.get("status") : null)
.sentAt(statusData.containsKey("sentAt") ? DateUtil.getTimeOfTimeT((String)statusData.get("sentAt"), "yyyyMMddHHmmss") : null)
.receivedAt(statusData.containsKey("receivedAt") ? DateUtil.getTimeOfTimeT((String) statusData.get("receivedAt"), "yyyyMMddHHmmss") : null)
.readAt(statusData.containsKey("readAt") ? DateUtil.getTimeOfTimeT((String) statusData.get("readAt"), "yyyyMMddHHmmss") : null)
.readExpiredAt(statusData.containsKey("readExpiredAt") ? DateUtil.getTimeOfTimeT((String) statusData.get("readExpiredAt"), "yyyyMMddHHmmss") : null)
.authenticatedAt(statusData.containsKey("authenticatedAt") ? DateUtil.getTimeOfTimeT((String) statusData.get("authenticatedAt"), "yyyyMMddHHmmss") : null)
.ottVerifiedAt(statusData.containsKey("ottVerifiedAt") ? DateUtil.getTimeOfTimeT((String) statusData.get("ottVerifiedAt"), "yyyyMMddHHmmss") : null)
.userNotifiedAt(statusData.containsKey("userNotifiedAt") ? DateUtil.getTimeOfTimeT((String) statusData.get("userNotifiedAt"), "yyyyMMddHHmmss") : null)
.distributionReceivedAt(statusData.containsKey("distributionReceivedAt") ? DateUtil.getTimeOfTimeT((String) statusData.get("distributionReceivedAt"), "yyyyMMddHHmmss") : null)
.sentAt(statusData.containsKey("sentAt") ? (String) statusData.get("sentAt") : null)
.receivedAt(statusData.containsKey("receivedAt") ? (String) statusData.get("receivedAt") : null)
.readAt(statusData.containsKey("readAt") ? (String) statusData.get("readAt") : null)
.readExpiredAt(statusData.containsKey("readExpiredAt") ? (String) statusData.get("readExpiredAt") : null)
.authenticatedAt(statusData.containsKey("authenticatedAt") ? (String) statusData.get("authenticatedAt") : null)
.ottVerifiedAt(statusData.containsKey("ottVerifiedAt") ? (String) statusData.get("ottVerifiedAt") : null)
.userNotifiedAt(statusData.containsKey("userNotifiedAt") ? (String) statusData.get("userNotifiedAt") : null)
.distributionReceivedAt(statusData.containsKey("distributionReceivedAt") ? (String) statusData.get("distributionReceivedAt") : null)
.payload(statusData.containsKey("payload") ? (String) statusData.get("payload") : null)
.error(FieldError.initBuilder()
.errorCode(apiRespVO.getErrorCode())

Loading…
Cancel
Save