You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
1.6 KiB
XML
30 lines
1.6 KiB
XML
4 weeks ago
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||
|
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||
|
<mapper namespace="com.icomsys.cinnamon.share.mapper.message.MessageSendLogMapper">
|
||
|
|
||
|
<insert id="insertSendLog" parameterType="com.icomsys.cinnamon.core.api.informal.message.vo.MessageSendLogInfo"> <!--useGeneratedKeys="true" keyProperty="seqNo"-->
|
||
|
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})
|
||
|
</insert>
|
||
|
|
||
|
<select id="selectSendLog" parameterType="String" resultType="com.icomsys.cinnamon.core.api.informal.message.vo.MessageSendRequest">
|
||
|
SELECT CALL_BACK, CONTENTS, RECEIVER_TEL_NO, USER_KEY, ADVERTISEMENT_YN, SEND_TYPE, SENDER_KEY,
|
||
|
TEMPLATE_CODE, IMAGE_FILE1, IMAGE_FILE2, IMAGE_FILE3, VIDEO_FILE, INIT_CALL_NO, OPTION_YN
|
||
|
FROM TB_UMS_SEND_LOG
|
||
|
WHERE SEND_YN = 'N'
|
||
|
</select>
|
||
|
|
||
|
<update id="updateSendLog" parameterType="String">
|
||
|
UPDATE TB_UMS_SEND_LOG
|
||
|
SET SEND_YN = 'Y'
|
||
|
WHERE USER_KEY = #{userKey}
|
||
|
</update>
|
||
|
|
||
|
|
||
|
</mapper>
|