insert into xhpc_timing_charging_model
reason,
charging_station_id,
timing_time,
tenant_id,
status,
del_flag,
create_time,
create_by,
update_time,
update_by,
remark,
phone
#{reason},
#{chargingStationId},
#{timingTime},
#{tenantId},
#{status},
#{delFlag},
#{createTime},
#{createBy},
#{updateTime},
#{updateBy},
#{remark},
#{phone}
insert into xhpc_timing_charging_rate
power_fee,
service_fee,
charging_station_id,
name,
timing_charging_model_id,
rate_value,
tenant_id,
status,
del_flag,
create_time,
create_by,
update_time,
update_by,
remark
#{powerFee},
#{serviceFee},
#{chargingStationId},
#{name},
#{timingChargingModelId},
#{rateValue},
#{tenantId},
#{status},
#{delFlag},
#{createTime},
#{createBy},
#{updateTime},
#{updateBy},
#{remark}
insert into xhpc_timing_charging_time
timing_charging_rate_id,
charging_station_id,
start_time,
end_time,
timing_charging_model_id,
rate_value,
type,
status,
del_flag,
create_time,
create_by,
update_time,
update_by,
remark
#{timingChargingRateId},
#{chargingStationId},
#{startTime},
#{endTime},
#{timingChargingModelId},
#{rateValue},
#{type},
#{status},
#{delFlag},
#{createTime},
#{createBy},
#{updateTime},
#{updateBy},
#{remark}
insert into xhpc_timing_charging_cache_rate_model
timing_charging_model_id,
one_price,
one_svc_price,
two_price,
two_svc_price,
three_price,
three_svc_price,
four_price,
four_svc_price,
loss_rate,
tf_prices_seq,
pp,
tenant_id,
status,
del_flag,
create_time,
create_by,
update_time,
update_by,
remark
#{timingChargingModelId},
#{onePrice},
#{oneSvcPrice},
#{twoPrice},
#{twoSvcPrice},
#{threePrice},
#{threeSvcPrice},
#{fourPrice},
#{fourSvcPrice},
#{lossRate},
#{tfPricesSeq},
#{pp},
#{tenantId},
#{status},
#{delFlag},
#{createTime},
#{createBy},
#{updateTime},
#{updateBy},
#{remark}
update xhpc_timing_charging_model
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},
where timing_charging_model_id =#{timingChargingModelId}
update xhpc_timing_charging_rate set del_flag=2 where timing_charging_model_id =#{timingChargingModelId}
update xhpc_timing_charging_time set del_flag=2 where timing_charging_model_id =#{timingChargingModelId}
update xhpc_timing_charging_cache_rate_model set del_flag=2 where timing_charging_model_id =#{timingChargingModelId}
insert into xhpc_rate_model
status,
del_flag,
create_time,
create_by,
update_time,
update_by,
remark
#{status},
#{delFlag},
#{createTime},
#{createBy},
#{updateTime},
#{updateBy},
#{remark}