mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-28 23:15:11 +08:00
保存蓝牙充电记录
This commit is contained in:
@@ -24,12 +24,16 @@
|
||||
<result column="reservation_end_time" jdbcType="TIMESTAMP" property="reservationEndTime" />
|
||||
<result column="start_soc" jdbcType="VARCHAR" property="startSoc" />
|
||||
<result column="end_soc" jdbcType="VARCHAR" property="endSoc" />
|
||||
<result column="ammeter_total_start" jdbcType="VARCHAR" property="ammeterTotalStart" />
|
||||
<result column="ammeter_total_end" jdbcType="VARCHAR" property="ammeterTotalEnd" />
|
||||
<result column="total_used_electricity" jdbcType="DECIMAL" property="totalUsedElectricity" />
|
||||
<result column="sharp_used_electricity" jdbcType="DECIMAL" property="sharpUsedElectricity" />
|
||||
<result column="peak_used_electricity" jdbcType="DECIMAL" property="peakUsedElectricity" />
|
||||
<result column="flat_used_electricity" jdbcType="DECIMAL" property="flatUsedElectricity" />
|
||||
<result column="valley_used_electricity" jdbcType="DECIMAL" property="valleyUsedElectricity" />
|
||||
<result column="reason" jdbcType="VARCHAR" property="reason" />
|
||||
<result column="trade_date" jdbcType="TIMESTAMP" property="tradeDate" />
|
||||
<result column="source_type" jdbcType="VARCHAR" property="sourceType" />
|
||||
<result column="create_by" jdbcType="VARCHAR" property="createBy" />
|
||||
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
|
||||
<result column="update_by" jdbcType="VARCHAR" property="updateBy" />
|
||||
@@ -41,9 +45,9 @@
|
||||
id, transaction_code, `status`, member_id, station_id, merchant_id, pile_sn, connector_code,
|
||||
pile_connector_code, logic_card, vin_code, start_mode, plate_number, charge_start_time,
|
||||
charge_end_time, start_type, reservation_start_time, reservation_end_time, start_soc,
|
||||
end_soc, total_used_electricity, sharp_used_electricity, peak_used_electricity, flat_used_electricity,
|
||||
valley_used_electricity, reason, create_by, create_time, update_by, update_time,
|
||||
del_flag
|
||||
end_soc, ammeter_total_start, ammeter_total_end, total_used_electricity, sharp_used_electricity,
|
||||
peak_used_electricity, flat_used_electricity, valley_used_electricity, reason, trade_date,
|
||||
source_type, create_by, create_time, update_by, update_time, del_flag
|
||||
</sql>
|
||||
<select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
|
||||
<!--@mbg.generated-->
|
||||
@@ -65,24 +69,26 @@
|
||||
vin_code, start_mode, plate_number,
|
||||
charge_start_time, charge_end_time, start_type,
|
||||
reservation_start_time, reservation_end_time,
|
||||
start_soc, end_soc, total_used_electricity,
|
||||
start_soc, end_soc, ammeter_total_start,
|
||||
ammeter_total_end, total_used_electricity,
|
||||
sharp_used_electricity, peak_used_electricity,
|
||||
flat_used_electricity, valley_used_electricity,
|
||||
reason, create_by, create_time,
|
||||
update_by, update_time, del_flag
|
||||
)
|
||||
reason, trade_date, source_type,
|
||||
create_by, create_time, update_by,
|
||||
update_time, del_flag)
|
||||
values (#{transactionCode,jdbcType=VARCHAR}, #{status,jdbcType=VARCHAR}, #{memberId,jdbcType=VARCHAR},
|
||||
#{stationId,jdbcType=VARCHAR}, #{merchantId,jdbcType=VARCHAR}, #{pileSn,jdbcType=VARCHAR},
|
||||
#{connectorCode,jdbcType=VARCHAR}, #{pileConnectorCode,jdbcType=VARCHAR}, #{logicCard,jdbcType=VARCHAR},
|
||||
#{vinCode,jdbcType=VARCHAR}, #{startMode,jdbcType=VARCHAR}, #{plateNumber,jdbcType=VARCHAR},
|
||||
#{chargeStartTime,jdbcType=TIMESTAMP}, #{chargeEndTime,jdbcType=TIMESTAMP}, #{startType,jdbcType=VARCHAR},
|
||||
#{reservationStartTime,jdbcType=TIMESTAMP}, #{reservationEndTime,jdbcType=TIMESTAMP},
|
||||
#{startSoc,jdbcType=VARCHAR}, #{endSoc,jdbcType=VARCHAR}, #{totalUsedElectricity,jdbcType=DECIMAL},
|
||||
#{startSoc,jdbcType=VARCHAR}, #{endSoc,jdbcType=VARCHAR}, #{ammeterTotalStart,jdbcType=VARCHAR},
|
||||
#{ammeterTotalEnd,jdbcType=VARCHAR}, #{totalUsedElectricity,jdbcType=DECIMAL},
|
||||
#{sharpUsedElectricity,jdbcType=DECIMAL}, #{peakUsedElectricity,jdbcType=DECIMAL},
|
||||
#{flatUsedElectricity,jdbcType=DECIMAL}, #{valleyUsedElectricity,jdbcType=DECIMAL},
|
||||
#{reason,jdbcType=VARCHAR}, #{createBy,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP},
|
||||
#{updateBy,jdbcType=VARCHAR}, #{updateTime,jdbcType=TIMESTAMP}, #{delFlag,jdbcType=CHAR}
|
||||
)
|
||||
#{reason,jdbcType=VARCHAR}, #{tradeDate,jdbcType=TIMESTAMP}, #{sourceType,jdbcType=VARCHAR},
|
||||
#{createBy,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{updateBy,jdbcType=VARCHAR},
|
||||
#{updateTime,jdbcType=TIMESTAMP}, #{delFlag,jdbcType=CHAR})
|
||||
</insert>
|
||||
<insert id="insertSelective" keyColumn="id" keyProperty="id" parameterType="com.jsowell.pile.domain.PersonalChargingRecord" useGeneratedKeys="true">
|
||||
<!--@mbg.generated-->
|
||||
@@ -145,6 +151,12 @@
|
||||
<if test="endSoc != null">
|
||||
end_soc,
|
||||
</if>
|
||||
<if test="ammeterTotalStart != null">
|
||||
ammeter_total_start,
|
||||
</if>
|
||||
<if test="ammeterTotalEnd != null">
|
||||
ammeter_total_end,
|
||||
</if>
|
||||
<if test="totalUsedElectricity != null">
|
||||
total_used_electricity,
|
||||
</if>
|
||||
@@ -163,6 +175,12 @@
|
||||
<if test="reason != null">
|
||||
reason,
|
||||
</if>
|
||||
<if test="tradeDate != null">
|
||||
trade_date,
|
||||
</if>
|
||||
<if test="sourceType != null">
|
||||
source_type,
|
||||
</if>
|
||||
<if test="createBy != null">
|
||||
create_by,
|
||||
</if>
|
||||
@@ -237,6 +255,12 @@
|
||||
<if test="endSoc != null">
|
||||
#{endSoc,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="ammeterTotalStart != null">
|
||||
#{ammeterTotalStart,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="ammeterTotalEnd != null">
|
||||
#{ammeterTotalEnd,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="totalUsedElectricity != null">
|
||||
#{totalUsedElectricity,jdbcType=DECIMAL},
|
||||
</if>
|
||||
@@ -255,6 +279,12 @@
|
||||
<if test="reason != null">
|
||||
#{reason,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="tradeDate != null">
|
||||
#{tradeDate,jdbcType=TIMESTAMP},
|
||||
</if>
|
||||
<if test="sourceType != null">
|
||||
#{sourceType,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="createBy != null">
|
||||
#{createBy,jdbcType=VARCHAR},
|
||||
</if>
|
||||
@@ -333,6 +363,12 @@
|
||||
<if test="endSoc != null">
|
||||
end_soc = #{endSoc,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="ammeterTotalStart != null">
|
||||
ammeter_total_start = #{ammeterTotalStart,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="ammeterTotalEnd != null">
|
||||
ammeter_total_end = #{ammeterTotalEnd,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="totalUsedElectricity != null">
|
||||
total_used_electricity = #{totalUsedElectricity,jdbcType=DECIMAL},
|
||||
</if>
|
||||
@@ -351,6 +387,12 @@
|
||||
<if test="reason != null">
|
||||
reason = #{reason,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="tradeDate != null">
|
||||
trade_date = #{tradeDate,jdbcType=TIMESTAMP},
|
||||
</if>
|
||||
<if test="sourceType != null">
|
||||
source_type = #{sourceType,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="createBy != null">
|
||||
create_by = #{createBy,jdbcType=VARCHAR},
|
||||
</if>
|
||||
@@ -391,12 +433,16 @@
|
||||
reservation_end_time = #{reservationEndTime,jdbcType=TIMESTAMP},
|
||||
start_soc = #{startSoc,jdbcType=VARCHAR},
|
||||
end_soc = #{endSoc,jdbcType=VARCHAR},
|
||||
ammeter_total_start = #{ammeterTotalStart,jdbcType=VARCHAR},
|
||||
ammeter_total_end = #{ammeterTotalEnd,jdbcType=VARCHAR},
|
||||
total_used_electricity = #{totalUsedElectricity,jdbcType=DECIMAL},
|
||||
sharp_used_electricity = #{sharpUsedElectricity,jdbcType=DECIMAL},
|
||||
peak_used_electricity = #{peakUsedElectricity,jdbcType=DECIMAL},
|
||||
flat_used_electricity = #{flatUsedElectricity,jdbcType=DECIMAL},
|
||||
valley_used_electricity = #{valleyUsedElectricity,jdbcType=DECIMAL},
|
||||
reason = #{reason,jdbcType=VARCHAR},
|
||||
trade_date = #{tradeDate,jdbcType=TIMESTAMP},
|
||||
source_type = #{sourceType,jdbcType=VARCHAR},
|
||||
create_by = #{createBy,jdbcType=VARCHAR},
|
||||
create_time = #{createTime,jdbcType=TIMESTAMP},
|
||||
update_by = #{updateBy,jdbcType=VARCHAR},
|
||||
@@ -503,6 +549,16 @@
|
||||
when id = #{item.id,jdbcType=INTEGER} then #{item.endSoc,jdbcType=VARCHAR}
|
||||
</foreach>
|
||||
</trim>
|
||||
<trim prefix="ammeter_total_start = case" suffix="end,">
|
||||
<foreach collection="list" index="index" item="item">
|
||||
when id = #{item.id,jdbcType=INTEGER} then #{item.ammeterTotalStart,jdbcType=VARCHAR}
|
||||
</foreach>
|
||||
</trim>
|
||||
<trim prefix="ammeter_total_end = case" suffix="end,">
|
||||
<foreach collection="list" index="index" item="item">
|
||||
when id = #{item.id,jdbcType=INTEGER} then #{item.ammeterTotalEnd,jdbcType=VARCHAR}
|
||||
</foreach>
|
||||
</trim>
|
||||
<trim prefix="total_used_electricity = case" suffix="end,">
|
||||
<foreach collection="list" index="index" item="item">
|
||||
when id = #{item.id,jdbcType=INTEGER} then #{item.totalUsedElectricity,jdbcType=DECIMAL}
|
||||
@@ -533,6 +589,16 @@
|
||||
when id = #{item.id,jdbcType=INTEGER} then #{item.reason,jdbcType=VARCHAR}
|
||||
</foreach>
|
||||
</trim>
|
||||
<trim prefix="trade_date = case" suffix="end,">
|
||||
<foreach collection="list" index="index" item="item">
|
||||
when id = #{item.id,jdbcType=INTEGER} then #{item.tradeDate,jdbcType=TIMESTAMP}
|
||||
</foreach>
|
||||
</trim>
|
||||
<trim prefix="source_type = case" suffix="end,">
|
||||
<foreach collection="list" index="index" item="item">
|
||||
when id = #{item.id,jdbcType=INTEGER} then #{item.sourceType,jdbcType=VARCHAR}
|
||||
</foreach>
|
||||
</trim>
|
||||
<trim prefix="create_by = case" suffix="end,">
|
||||
<foreach collection="list" index="index" item="item">
|
||||
when id = #{item.id,jdbcType=INTEGER} then #{item.createBy,jdbcType=VARCHAR}
|
||||
@@ -701,6 +767,20 @@
|
||||
</if>
|
||||
</foreach>
|
||||
</trim>
|
||||
<trim prefix="ammeter_total_start = case" suffix="end,">
|
||||
<foreach collection="list" index="index" item="item">
|
||||
<if test="item.ammeterTotalStart != null">
|
||||
when id = #{item.id,jdbcType=INTEGER} then #{item.ammeterTotalStart,jdbcType=VARCHAR}
|
||||
</if>
|
||||
</foreach>
|
||||
</trim>
|
||||
<trim prefix="ammeter_total_end = case" suffix="end,">
|
||||
<foreach collection="list" index="index" item="item">
|
||||
<if test="item.ammeterTotalEnd != null">
|
||||
when id = #{item.id,jdbcType=INTEGER} then #{item.ammeterTotalEnd,jdbcType=VARCHAR}
|
||||
</if>
|
||||
</foreach>
|
||||
</trim>
|
||||
<trim prefix="total_used_electricity = case" suffix="end,">
|
||||
<foreach collection="list" index="index" item="item">
|
||||
<if test="item.totalUsedElectricity != null">
|
||||
@@ -743,6 +823,20 @@
|
||||
</if>
|
||||
</foreach>
|
||||
</trim>
|
||||
<trim prefix="trade_date = case" suffix="end,">
|
||||
<foreach collection="list" index="index" item="item">
|
||||
<if test="item.tradeDate != null">
|
||||
when id = #{item.id,jdbcType=INTEGER} then #{item.tradeDate,jdbcType=TIMESTAMP}
|
||||
</if>
|
||||
</foreach>
|
||||
</trim>
|
||||
<trim prefix="source_type = case" suffix="end,">
|
||||
<foreach collection="list" index="index" item="item">
|
||||
<if test="item.sourceType != null">
|
||||
when id = #{item.id,jdbcType=INTEGER} then #{item.sourceType,jdbcType=VARCHAR}
|
||||
</if>
|
||||
</foreach>
|
||||
</trim>
|
||||
<trim prefix="create_by = case" suffix="end,">
|
||||
<foreach collection="list" index="index" item="item">
|
||||
<if test="item.createBy != null">
|
||||
@@ -790,9 +884,10 @@
|
||||
(transaction_code, `status`, member_id, station_id, merchant_id, pile_sn, connector_code,
|
||||
pile_connector_code, logic_card, vin_code, start_mode, plate_number, charge_start_time,
|
||||
charge_end_time, start_type, reservation_start_time, reservation_end_time, start_soc,
|
||||
end_soc, total_used_electricity, sharp_used_electricity, peak_used_electricity,
|
||||
flat_used_electricity, valley_used_electricity, reason, create_by, create_time,
|
||||
update_by, update_time, del_flag)
|
||||
end_soc, ammeter_total_start, ammeter_total_end, total_used_electricity, sharp_used_electricity,
|
||||
peak_used_electricity, flat_used_electricity, valley_used_electricity, reason,
|
||||
trade_date, source_type, create_by, create_time, update_by, update_time, del_flag
|
||||
)
|
||||
values
|
||||
<foreach collection="list" item="item" separator=",">
|
||||
(#{item.transactionCode,jdbcType=VARCHAR}, #{item.status,jdbcType=VARCHAR}, #{item.memberId,jdbcType=VARCHAR},
|
||||
@@ -802,12 +897,13 @@
|
||||
#{item.plateNumber,jdbcType=VARCHAR}, #{item.chargeStartTime,jdbcType=TIMESTAMP},
|
||||
#{item.chargeEndTime,jdbcType=TIMESTAMP}, #{item.startType,jdbcType=VARCHAR}, #{item.reservationStartTime,jdbcType=TIMESTAMP},
|
||||
#{item.reservationEndTime,jdbcType=TIMESTAMP}, #{item.startSoc,jdbcType=VARCHAR},
|
||||
#{item.endSoc,jdbcType=VARCHAR}, #{item.totalUsedElectricity,jdbcType=DECIMAL},
|
||||
#{item.sharpUsedElectricity,jdbcType=DECIMAL}, #{item.peakUsedElectricity,jdbcType=DECIMAL},
|
||||
#{item.flatUsedElectricity,jdbcType=DECIMAL}, #{item.valleyUsedElectricity,jdbcType=DECIMAL},
|
||||
#{item.reason,jdbcType=VARCHAR}, #{item.createBy,jdbcType=VARCHAR}, #{item.createTime,jdbcType=TIMESTAMP},
|
||||
#{item.updateBy,jdbcType=VARCHAR}, #{item.updateTime,jdbcType=TIMESTAMP}, #{item.delFlag,jdbcType=CHAR}
|
||||
)
|
||||
#{item.endSoc,jdbcType=VARCHAR}, #{item.ammeterTotalStart,jdbcType=VARCHAR}, #{item.ammeterTotalEnd,jdbcType=VARCHAR},
|
||||
#{item.totalUsedElectricity,jdbcType=DECIMAL}, #{item.sharpUsedElectricity,jdbcType=DECIMAL},
|
||||
#{item.peakUsedElectricity,jdbcType=DECIMAL}, #{item.flatUsedElectricity,jdbcType=DECIMAL},
|
||||
#{item.valleyUsedElectricity,jdbcType=DECIMAL}, #{item.reason,jdbcType=VARCHAR},
|
||||
#{item.tradeDate,jdbcType=TIMESTAMP}, #{item.sourceType,jdbcType=VARCHAR}, #{item.createBy,jdbcType=VARCHAR},
|
||||
#{item.createTime,jdbcType=TIMESTAMP}, #{item.updateBy,jdbcType=VARCHAR}, #{item.updateTime,jdbcType=TIMESTAMP},
|
||||
#{item.delFlag,jdbcType=CHAR})
|
||||
</foreach>
|
||||
</insert>
|
||||
<insert id="insertOrUpdate" keyColumn="id" keyProperty="id" parameterType="com.jsowell.pile.domain.PersonalChargingRecord" useGeneratedKeys="true">
|
||||
@@ -836,12 +932,16 @@
|
||||
reservation_end_time,
|
||||
start_soc,
|
||||
end_soc,
|
||||
ammeter_total_start,
|
||||
ammeter_total_end,
|
||||
total_used_electricity,
|
||||
sharp_used_electricity,
|
||||
peak_used_electricity,
|
||||
flat_used_electricity,
|
||||
valley_used_electricity,
|
||||
reason,
|
||||
trade_date,
|
||||
source_type,
|
||||
create_by,
|
||||
create_time,
|
||||
update_by,
|
||||
@@ -872,12 +972,16 @@
|
||||
#{reservationEndTime,jdbcType=TIMESTAMP},
|
||||
#{startSoc,jdbcType=VARCHAR},
|
||||
#{endSoc,jdbcType=VARCHAR},
|
||||
#{ammeterTotalStart,jdbcType=VARCHAR},
|
||||
#{ammeterTotalEnd,jdbcType=VARCHAR},
|
||||
#{totalUsedElectricity,jdbcType=DECIMAL},
|
||||
#{sharpUsedElectricity,jdbcType=DECIMAL},
|
||||
#{peakUsedElectricity,jdbcType=DECIMAL},
|
||||
#{flatUsedElectricity,jdbcType=DECIMAL},
|
||||
#{valleyUsedElectricity,jdbcType=DECIMAL},
|
||||
#{reason,jdbcType=VARCHAR},
|
||||
#{tradeDate,jdbcType=TIMESTAMP},
|
||||
#{sourceType,jdbcType=VARCHAR},
|
||||
#{createBy,jdbcType=VARCHAR},
|
||||
#{createTime,jdbcType=TIMESTAMP},
|
||||
#{updateBy,jdbcType=VARCHAR},
|
||||
@@ -908,12 +1012,16 @@
|
||||
reservation_end_time = #{reservationEndTime,jdbcType=TIMESTAMP},
|
||||
start_soc = #{startSoc,jdbcType=VARCHAR},
|
||||
end_soc = #{endSoc,jdbcType=VARCHAR},
|
||||
ammeter_total_start = #{ammeterTotalStart,jdbcType=VARCHAR},
|
||||
ammeter_total_end = #{ammeterTotalEnd,jdbcType=VARCHAR},
|
||||
total_used_electricity = #{totalUsedElectricity,jdbcType=DECIMAL},
|
||||
sharp_used_electricity = #{sharpUsedElectricity,jdbcType=DECIMAL},
|
||||
peak_used_electricity = #{peakUsedElectricity,jdbcType=DECIMAL},
|
||||
flat_used_electricity = #{flatUsedElectricity,jdbcType=DECIMAL},
|
||||
valley_used_electricity = #{valleyUsedElectricity,jdbcType=DECIMAL},
|
||||
reason = #{reason,jdbcType=VARCHAR},
|
||||
trade_date = #{tradeDate,jdbcType=TIMESTAMP},
|
||||
source_type = #{sourceType,jdbcType=VARCHAR},
|
||||
create_by = #{createBy,jdbcType=VARCHAR},
|
||||
create_time = #{createTime,jdbcType=TIMESTAMP},
|
||||
update_by = #{updateBy,jdbcType=VARCHAR},
|
||||
@@ -985,6 +1093,12 @@
|
||||
<if test="endSoc != null">
|
||||
end_soc,
|
||||
</if>
|
||||
<if test="ammeterTotalStart != null">
|
||||
ammeter_total_start,
|
||||
</if>
|
||||
<if test="ammeterTotalEnd != null">
|
||||
ammeter_total_end,
|
||||
</if>
|
||||
<if test="totalUsedElectricity != null">
|
||||
total_used_electricity,
|
||||
</if>
|
||||
@@ -1003,6 +1117,12 @@
|
||||
<if test="reason != null">
|
||||
reason,
|
||||
</if>
|
||||
<if test="tradeDate != null">
|
||||
trade_date,
|
||||
</if>
|
||||
<if test="sourceType != null">
|
||||
source_type,
|
||||
</if>
|
||||
<if test="createBy != null">
|
||||
create_by,
|
||||
</if>
|
||||
@@ -1081,6 +1201,12 @@
|
||||
<if test="endSoc != null">
|
||||
#{endSoc,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="ammeterTotalStart != null">
|
||||
#{ammeterTotalStart,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="ammeterTotalEnd != null">
|
||||
#{ammeterTotalEnd,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="totalUsedElectricity != null">
|
||||
#{totalUsedElectricity,jdbcType=DECIMAL},
|
||||
</if>
|
||||
@@ -1099,6 +1225,12 @@
|
||||
<if test="reason != null">
|
||||
#{reason,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="tradeDate != null">
|
||||
#{tradeDate,jdbcType=TIMESTAMP},
|
||||
</if>
|
||||
<if test="sourceType != null">
|
||||
#{sourceType,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="createBy != null">
|
||||
#{createBy,jdbcType=VARCHAR},
|
||||
</if>
|
||||
@@ -1177,6 +1309,12 @@
|
||||
<if test="endSoc != null">
|
||||
end_soc = #{endSoc,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="ammeterTotalStart != null">
|
||||
ammeter_total_start = #{ammeterTotalStart,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="ammeterTotalEnd != null">
|
||||
ammeter_total_end = #{ammeterTotalEnd,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="totalUsedElectricity != null">
|
||||
total_used_electricity = #{totalUsedElectricity,jdbcType=DECIMAL},
|
||||
</if>
|
||||
@@ -1195,6 +1333,12 @@
|
||||
<if test="reason != null">
|
||||
reason = #{reason,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="tradeDate != null">
|
||||
trade_date = #{tradeDate,jdbcType=TIMESTAMP},
|
||||
</if>
|
||||
<if test="sourceType != null">
|
||||
source_type = #{sourceType,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="createBy != null">
|
||||
create_by = #{createBy,jdbcType=VARCHAR},
|
||||
</if>
|
||||
|
||||
Reference in New Issue
Block a user