|
@@ -11,6 +11,7 @@
|
|
|
<if test="pressName != null and pressName != ''">press_name,</if>
|
|
<if test="pressName != null and pressName != ''">press_name,</if>
|
|
|
<if test="usedTypeName != null and usedTypeName != ''">used_type_name,</if>
|
|
<if test="usedTypeName != null and usedTypeName != ''">used_type_name,</if>
|
|
|
<if test="stampInfo != null and stampInfo != ''">stamp_info,</if>
|
|
<if test="stampInfo != null and stampInfo != ''">stamp_info,</if>
|
|
|
|
|
+ <if test="meterType != null">meter_type,</if>
|
|
|
created_at,
|
|
created_at,
|
|
|
updated_at,
|
|
updated_at,
|
|
|
<if test="mobile != null and mobile != ''">mobile,</if>
|
|
<if test="mobile != null and mobile != ''">mobile,</if>
|
|
@@ -33,6 +34,7 @@
|
|
|
<if test="pressName != null and pressName != ''">#{pressName,jdbcType=VARCHAR},</if>
|
|
<if test="pressName != null and pressName != ''">#{pressName,jdbcType=VARCHAR},</if>
|
|
|
<if test="usedTypeName != null and usedTypeName != ''">#{usedTypeName,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="stampInfo != null and stampInfo != ''">#{stampInfo,jdbcType=VARCHAR},</if>
|
|
|
|
|
+ <if test="meterType != null">#{meterType,jdbcType=SMALLINT},</if>
|
|
|
<if test="createdAt != null">#{createdAt,jdbcType=TIMESTAMP},</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')),
|
|
|
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="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="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="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,
|
|
updated_at = excluded.updated_at,
|
|
|
<if test="mobile != null and mobile != ''">mobile = excluded.mobile,</if>
|
|
<if test="mobile != null and mobile != ''">mobile = excluded.mobile,</if>
|
|
|
<if test="statusCode != null">status_code = excluded.status_code,</if>
|
|
<if test="statusCode != null">status_code = excluded.status_code,</if>
|