Parcourir la source

修改装表时间字段

欧阳劲驰 il y a 3 semaines
Parent
commit
d3bf8c978d

+ 1 - 1
bespoke-gateway-core/src/main/java/com/shkpr/service/bespokegateway/core/domain/po/CustomerInfo.java

@@ -174,5 +174,5 @@ public class CustomerInfo {
      * 装表时间
      */
     @ExcelMapping("装表时间")
-    private LocalDateTime installTime;
+    private LocalDateTime meterInstallTime;
 }

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

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