diff --git a/db/mens-iup-query.sql b/db/mens-iup-query.sql index bb33c72..0a0929a 100644 --- a/db/mens-iup-query.sql +++ b/db/mens-iup-query.sql @@ -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 * diff --git a/src/main/java/cokr/xit/ens/modules/kkotalk/service/support/KkoTalkRsltFetcher.java b/src/main/java/cokr/xit/ens/modules/kkotalk/service/support/KkoTalkRsltFetcher.java index 25f9be2..f0db530 100644 --- a/src/main/java/cokr/xit/ens/modules/kkotalk/service/support/KkoTalkRsltFetcher.java +++ b/src/main/java/cokr/xit/ens/modules/kkotalk/service/support/KkoTalkRsltFetcher.java @@ -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())