浏览代码

营销户表信息导入,增加表类型

欧阳劲驰 7 小时之前
父节点
当前提交
70d29b98ed
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      custom-gateway-core/src/main/resources/mapper/CustomerInfoMapper.xml

+ 3 - 0
custom-gateway-core/src/main/resources/mapper/CustomerInfoMapper.xml

@@ -11,6 +11,7 @@
             <if test="pressName != null and pressName != ''">press_name,</if>
             <if test="usedTypeName != null and usedTypeName != ''">used_type_name,</if>
             <if test="stampInfo != null and stampInfo != ''">stamp_info,</if>
+            <if test="meterType != null">meter_type,</if>
             created_at,
             updated_at,
             <if test="mobile != null and mobile != ''">mobile,</if>
@@ -33,6 +34,7 @@
             <if test="pressName != null and pressName != ''">#{pressName,jdbcType=VARCHAR},</if>
             <if test="usedTypeName != null and usedTypeName != ''">#{usedTypeName,jdbcType=VARCHAR},</if>
             <if test="stampInfo != null and stampInfo != ''">#{stampInfo,jdbcType=VARCHAR},</if>
+            <if test="meterType != null">#{meterType,jdbcType=SMALLINT},</if>
             <if test="createdAt != null">#{createdAt,jdbcType=TIMESTAMP},</if>
             timezone('utc', localtimestamp(0) at time zone current_setting('timezone')),
             timezone('utc', localtimestamp(0) at time zone current_setting('timezone')),
@@ -56,6 +58,7 @@
             <if test="pressName != null and pressName != ''">press_name = excluded.press_name,</if>
             <if test="usedTypeName != null and usedTypeName != ''">used_type_name = excluded.used_type_name,</if>
             <if test="stampInfo != null and stampInfo != ''">stamp_info = excluded.stamp_info,</if>
+            <if test="meterType != null">meter_type = excluded.meter_type,</if>
             updated_at = excluded.updated_at,
             <if test="mobile != null and mobile != ''">mobile = excluded.mobile,</if>
             <if test="statusCode != null">status_code = excluded.status_code,</if>