Browse Source

客诉修改

wangxiaoming 7 years ago
parent
commit
1801ed28cd

+ 10 - 3
watero-rst-service/src/main/java/com/iamberry/rst/service/cm/mapper/customerInfoMapper.xml

@@ -12,6 +12,7 @@
     <result column="customer_counsel_type" property="customerCounselType" jdbcType="BIT" />
     <result column="customer_name" property="customerName" jdbcType="VARCHAR" />
     <result column="customer_tel" property="customerTel" jdbcType="VARCHAR" />
+    <result column="customer_wechat_name" property="customerWechatName" jdbcType="VARCHAR" />
     <result column="customer_is_solve" property="customerIsSolve" jdbcType="TINYINT" />
     <result column="customer_is_visit" property="customerIsVisit" jdbcType="VARCHAR" />
     <result column="customer_in_TDS" property="customerInTds" jdbcType="INTEGER" />
@@ -22,7 +23,7 @@
   </resultMap>
   <sql id="Base_Column_List" >
     customer_id, admin_id, question_id, company_id, store_id, customer_source_type, customer_source, 
-    customer_counsel_type, customer_name, customer_tel, customer_is_solve, customer_is_visit, 
+    customer_counsel_type, customer_name, customer_tel,customer_wechat_name, customer_is_solve, customer_is_visit,
     customer_in_TDS, customer_out_TDS, customer_area, customer_create_time, customer_update_time
   </sql>
 
@@ -40,6 +41,7 @@
       t.type_id,
       t.customer_name,
       t.customer_tel,
+      t.customer_wechat_name,
       t.customer_is_solve,
       t.customer_is_visit,
       t.customer_in_TDS,
@@ -65,6 +67,7 @@
       a.admin_name,
       c.customer_name,
       c.customer_tel,
+      c.customer_wechat_name,
       c.customer_source_type,
       c.customer_source,
       t.type_name,
@@ -178,6 +181,7 @@
     <result column="admin_name" property="adminName"/>
     <result column="customer_name" property="customerName"/>
     <result column="customer_tel" property="customerTel"/>
+    <result column="customer_wechat_name" property="customerWechatName"/>
     <result column="customer_source_type" property="customerSourceType"/>
     <result column="customer_source" property="customerSource"/>
     <result column="type_name" property="typeName"/>
@@ -219,13 +223,13 @@
     insert into tb_rst_customer_info (customer_id, admin_id, question_id, 
       company_id, store_id, customer_source_type, 
       customer_source, customer_counsel_type, customer_name, 
-      customer_tel, customer_is_solve, customer_is_visit, 
+      customer_tel,customer_wechat_name, customer_is_solve, customer_is_visit,
       customer_in_TDS, customer_out_TDS, customer_area, type_id
       )
     values (#{customerId,jdbcType=INTEGER}, #{adminId,jdbcType=INTEGER}, #{questionId,jdbcType=INTEGER}, 
       #{companyId,jdbcType=INTEGER}, #{storeId,jdbcType=INTEGER}, #{customerSourceType,jdbcType=TINYINT}, 
       #{customerSource,jdbcType=VARCHAR}, #{customerCounselType,jdbcType=BIT}, #{customerName,jdbcType=VARCHAR}, 
-      #{customerTel,jdbcType=VARCHAR}, #{customerIsSolve,jdbcType=TINYINT}, #{customerIsVisit,jdbcType=VARCHAR}, 
+      #{customerTel,jdbcType=VARCHAR},#{customerWechatName,jdbcType=VARCHAR}, #{customerIsSolve,jdbcType=TINYINT}, #{customerIsVisit,jdbcType=VARCHAR},
       #{customerInTDS,jdbcType=INTEGER}, #{customerOutTDS,jdbcType=INTEGER}, #{customerArea,jdbcType=VARCHAR},#{typeId}
       )
   </insert>
@@ -261,6 +265,9 @@
       <if test="customerTel != null" >
         customer_tel = #{customerTel},
       </if>
+      <if test="customerWechatName != null" >
+        customer_wechat_name = #{customerWechatName},
+      </if>
       <if test="customerIsSolve != null" >
         customer_is_solve = #{customerIsSolve},
       </if>