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 * 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 * select *

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

Loading…
Cancel
Save