insert into xhpc_timing_charging_power
reason,
charging_station_id,
timing_time,
tenant_id,
status,
del_flag,
create_time,
create_by,
update_time,
update_by,
remark,
phone,
power_number,
pile_ids,
#{reason},
#{chargingStationId},
#{timingTime},
#{tenantId},
#{status},
#{delFlag},
#{createTime},
#{createBy},
#{updateTime},
#{updateBy},
#{remark},
#{phone},
#{powerNumber},
#{pileIds},
update xhpc_timing_charging_power
charging_station_id = #{chargingStationId},
reason = #{reason},
timing_time = #{timingTime},
error_reason = #{errorReason},
number = #{number},
status = #{status},
del_flag = #{delFlag},
create_time = #{createTime},
create_by = #{createBy},
update_time = #{updateTime},
update_by = #{updateBy},
remark = #{remark},
phone = #{phone},
power_number = #{powerNumber},
pile_ids = #{pileIds},
where timing_charging_power_id =#{timingChargingPowerId}
update xhpc_charging_pile set power_number =#{powerNumber} where charging_pile_id =#{chargingPileId}