select id, scheme_id, name, scheme_pmf, combination, charging_count, discharge_count, direct_current_count,
traction_head_count, product_semi_trailer_count, annual_revenue, cycle_life, total_investment,
evaluation_dimension,scheme_exploration_id, create_by, create_time, update_by, update_time
from scheme
insert into scheme (
scheme_id,
name,
scheme_pmf,
combination,
charging_count,
discharge_count,
direct_current_count,
traction_head_count,
product_semi_trailer_count,
annual_revenue,
cycle_life,
total_investment,
evaluation_dimension,
scheme_exploration_id,
create_by,
create_time
)values(
#{schemeId},
#{name},
#{schemePmf},
#{combination},
#{chargingCount},
#{dischargeCount},
#{directCurrentCount},
#{tractionHeadCount},
#{productSemiTrailerCount},
#{annualRevenue},
#{cycleLife},
#{totalInvestment},
#{evaluationDimension},
#{createBy},
sysdate()
)
update scheme
scheme_id = #{schemeId},
name = #{name},
scheme_pmf = #{schemePmf},
combination = #{combination},
charging_count = #{chargingCount},
discharge_count = #{dischargeCount},
direct_current_count = #{directCurrentCount},
traction_head_count = #{tractionHeadCount},
product_semi_trailer_count = #{productSemiTrailerCount},
annual_revenue = #{annualRevenue},
cycle_life = #{cycleLife},
total_investment = #{totalInvestment},
evaluation_dimension = #{evaluationDimension},
update_by = #{updateBy},
update_time = sysdate()
where id = #{id}
delete from scheme where id = #{id}
delete from scheme where id in
#{id}