|
@@ -28,7 +28,7 @@
|
|
|
<if test="billingType != null">billing_type,</if>
|
|
<if test="billingType != null">billing_type,</if>
|
|
|
<if test="meteringType != null">metering_type,</if>
|
|
<if test="meteringType != null">metering_type,</if>
|
|
|
<if test="openTime != null">open_time,</if>
|
|
<if test="openTime != null">open_time,</if>
|
|
|
- <if test="installTime != null">install_time,</if>
|
|
|
|
|
|
|
+ <if test="meterInstallTime != null">meter_install_time,</if>
|
|
|
</trim>
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
#{code,jdbcType=VARCHAR},
|
|
#{code,jdbcType=VARCHAR},
|
|
@@ -57,7 +57,7 @@
|
|
|
<if test="billingType != null">#{billingType,jdbcType=SMALLINT},</if>
|
|
<if test="billingType != null">#{billingType,jdbcType=SMALLINT},</if>
|
|
|
<if test="meteringType != null">#{meteringType,jdbcType=SMALLINT},</if>
|
|
<if test="meteringType != null">#{meteringType,jdbcType=SMALLINT},</if>
|
|
|
<if test="openTime != null">#{openTime,jdbcType=TIMESTAMP},</if>
|
|
<if test="openTime != null">#{openTime,jdbcType=TIMESTAMP},</if>
|
|
|
- <if test="installTime != null">#{installTime,jdbcType=TIMESTAMP},</if>
|
|
|
|
|
|
|
+ <if test="meterInstallTime != null">#{meterInstallTime,jdbcType=TIMESTAMP},</if>
|
|
|
</trim>
|
|
</trim>
|
|
|
on conflict (code) do update set
|
|
on conflict (code) do update set
|
|
|
<trim suffixOverrides=",">
|
|
<trim suffixOverrides=",">
|
|
@@ -84,7 +84,7 @@
|
|
|
<if test="billingType != null">billing_type = excluded.billing_type,</if>
|
|
<if test="billingType != null">billing_type = excluded.billing_type,</if>
|
|
|
<if test="meteringType != null">metering_type = excluded.metering_type,</if>
|
|
<if test="meteringType != null">metering_type = excluded.metering_type,</if>
|
|
|
<if test="openTime != null">open_time = excluded.open_time,</if>
|
|
<if test="openTime != null">open_time = excluded.open_time,</if>
|
|
|
- <if test="installTime != null">install_time = excluded.install_time,</if>
|
|
|
|
|
|
|
+ <if test="meterInstallTime != null">meter_install_time = excluded.meter_install_time,</if>
|
|
|
</trim>
|
|
</trim>
|
|
|
</insert>
|
|
</insert>
|
|
|
</mapper>
|
|
</mapper>
|