fix: kakaotalk API call 에러처리시 매핑값 fix

main
Jonguk. Lim 3 months ago
parent 5156a2658b
commit ef086d671f

@ -32,6 +32,8 @@ select * from tb_ens_unity_sndng_mastr;
select * from tb_ens_unity_sndng_detail;
select * from tb_ens_ci;
select * from tb_ens_sndng_mastr;
select * from tb_ens_ihidnum_manage;
select * from tb_ens_ci_manage;
@ -64,28 +66,29 @@ where teim.ihidnum = 'RUNCNjEwM0JERENGMEMzNjRBOTAyMERERjg5MDFEODc=';
WHERE teim.ihidnum = 'RUNCNjEwM0JERENGMEMzNjRBOTAyMERERjg5MDFEODc=';
common_categories,
read_expired_at, /* 처리마감시간 */
-- recv_ci, /* 받는이 CI */
recv_phone_number, /* 받는이 전화번호 */
recv_name, /* 받는이 이름 */
recv_birthday, /* 받는이 생년월일 */
recv_is_required_verify_name,/* 성명검증옵션 */
prop_link, /* 모바일페이지 URL */
prop_payload,
prop_message,
prop_cs_number, /* 고객센터 전화번호 */
prop_cs_name, /* 고객센터 명 */
-- external_document_uuid,/* 외부문서 식별번호 */
regist_dt,
register
select DATE_FORMAT(DATE_ADD(clos_dt, INTERVAL 1 DAY), '%Y-%m-%dT%H:%i:%s')
, DATE_FORMAT(null, '%Y-%m-%dT%H:%i:%s')
, DATE_FORMAT('', '%Y-%m-%dT%H:%i:%s')
, DATE_FORMAT('2024-09-05T23:59:59', '%Y%m%d%H%i%s')
, sysdate()
from tb_ens_unity_sndng_mastr;
SELECT tesm.sndng_mastr_id
, tesm.unity_sndng_mastr_id
, tesm.tmplat_id
, tesm.sndng_co
, tesm.try_seq
, tesm.sndng_process_sttus
, teusm.try1
, teusm.try2
, teusm.try3
, teusm.try_cnt
FROM tb_ens_sndng_mastr tesm
JOIN tb_ens_unity_sndng_mastr teusm
ON tesm.unity_sndng_mastr_id = teusm.unity_sndng_mastr_id
WHERE tesm.sndng_process_sttus IN ('send-ok', 'sending1', 'sending2')
AND tesm.signgu_code = '51110'
AND tesm.ffnlg_code = '11';
SELECT tekmd.document_binder_uuid
FROM tb_ens_sndng_mastr tesm
JOIN tb_ens_kakao_my_doc tekmd
ON tesm.sndng_mastr_id = tekmd.sndng_mastr_id
WHERE tesm.sndng_process_sttus IN ('send-ok', 'sending1', 'sending2')
AND tesm.unity_sndng_mastr_id = '3094'
AND IFNULL(tekmd.document_binder_uuid, '') != ''
AND tesm.signgu_code = '51110'
AND tesm.ffnlg_code = '11';

@ -290,9 +290,9 @@ public class KkotalkEltrcDocService extends AbstractService implements
KkotalkDocDTO.ValidTokenResponse.class, getRlaybsnmInfo(reqDTO));
// FIXME: USED ??
if(!"USED".equals(validTokenRes.getStatus())){
return ApiResponseDTO.error(validTokenRes.getErrorCode(), validTokenRes.getErrorMessage());
}
// if(!"USED".equals(validTokenRes.getStatus())){
// return ApiResponseDTO.error(validTokenRes.getErrorCode(), validTokenRes.getErrorMessage());
// }
// 문서상태 변경
final String url2 = HOST + API_MODIFY_STATUS[0].replace(ENVELOPE_ID, reqDTO.getEnvelopeId());

@ -903,8 +903,8 @@
UPDATE tb_ens_kakao_d10
SET external_id = #{externalId}
, envelope_id = #{envelopeId}
, error_code = #{error_code}
, error_message = #{error_message}
, error_code = #{errorCode}
, error_message = #{errorMessage}
, updt_dt = now()
, updusr = 'batch'
WHERE unity_sndng_detail_id = #{externalId}

Loading…
Cancel
Save