|
@@ -0,0 +1,36 @@
|
|
|
|
|
+<?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.style24.core.biz.dao.TscCustomerDao">
|
|
|
|
|
+
|
|
|
|
|
+ <!-- 고객이력 생성 -->
|
|
|
|
|
+ <insert id="createCustomerHistory" parameterType="String">
|
|
|
|
|
+ /* TsfCustomer.createCustomerHistory */
|
|
|
|
|
+ SELECT 1
|
|
|
|
|
+ </insert>
|
|
|
|
|
+
|
|
|
|
|
+ <!-- 회원접촉이력 생성 -->
|
|
|
|
|
+ <insert id="createCustomerContactHistory" parameterType="TsfCustomer">
|
|
|
|
|
+ /* TsfCustomer.createCustomerContactHistory */
|
|
|
|
|
+ INSERT INTO TB_CUST_CONTACT_HST (
|
|
|
|
|
+ CONTACT_TYPE
|
|
|
|
|
+ , CONTACT_METHOD
|
|
|
|
|
+ , CONTACT_CONTENTS
|
|
|
|
|
+ , SENDER_NO
|
|
|
|
|
+ , SEND_DT
|
|
|
|
|
+ , RECEIVER_NO
|
|
|
|
|
+ , REG_NO
|
|
|
|
|
+ , REG_DT
|
|
|
|
|
+ )
|
|
|
|
|
+ VALUES (
|
|
|
|
|
+ #{contactType}
|
|
|
|
|
+ , #{contactMethod}
|
|
|
|
|
+ , #{contactContents}
|
|
|
|
|
+ , IFNULL(#{senderNo}, 0)
|
|
|
|
|
+ , NOW()
|
|
|
|
|
+ , #{receiverNo}
|
|
|
|
|
+ , IFNULL(#{regNo}, 0)
|
|
|
|
|
+ , NOW()
|
|
|
|
|
+ )
|
|
|
|
|
+ </insert>
|
|
|
|
|
+
|
|
|
|
|
+</mapper>
|