insert into sg_wbs_fee
(id,
wbs_code,
original_total_cost,
original_rate,
original_rg_cost,
original_cbr_cost,
original_fbr_cost,
original_jx_cost,
rg_cost,
cbr_cost,
fbr_cost,
jx_cost,
measures_fee1,
measures_fee2,
other_cost,
fees,
tex,
total_fee,
bz_fee,
jk_fee
) values (
#{id},
#{wbsCode},
#{originalTotalCost},
#{originalRate},
#{originalRgCost},
#{originalCbrCost},
#{originalFbrCost},
#{originalJxCost},
#{rgCost},
#{cbrCost},
#{fbrCost},
#{jxCost},
#{measuresFee1},
#{measuresFee2},
#{otherCost},
#{fees},
#{tex},
#{totalFee},
#{bzFee},
#{jkFee}
)
insert into sg_wbs_project
(id,
project_name,
create_date
) values (
#{id},
#{name},
#{createDate}
)
update sg_wbs_fee_tz set fee = #{fee}
type = #{type} and
id = #{id}
insert into sg_wbs_fee_tz
(
id,
type,
fee
)values (
#{id},
#{type},
#{fee}
)