INSERT INTO TB_UMS_SEND_LOG
(SEND_YN, USER_KEY, CALL_BACK, RECEIVER_TEL_NO, SEND_TYPE, CONTENTS, ADVERTISEMENT_YN,
IMAGE_FILE1, IMAGE_FILE2, IMAGE_FILE3, VIDEO_FILE, SENDER_KEY, TEMPLATE_CODE, INIT_CALL_NO,
API_RESPONSE_CODE, RESULT_CODE, REIGST_DATE, OPTION_YN)
VALUES (#{sendYn}, #{userKey}, #{callBack}, #{receiverTelNo}, #{sendType}, #{contents}, #{advertisementYn},
#{imageFile1}, #{imageFile2}, #{imageFile3}, #{videoFile}, #{senderKey}, #{templateCode}, #{initCallNo},
#{apiResponseCode}, #{resultCode}, #{registDate}, #{optionYn})
UPDATE TB_UMS_SEND_LOG
SET SEND_YN = 'Y'
WHERE USER_KEY = #{userKey}