id, uid, main_business_income, management_cost, operating_profit, various_tax, current_asset,
net_fixed_asset, total_asset, net_asset, gross_profit, net_profit, sales_revenue, year,
finance_url, research_cost, deleted_sign
delete from org_finance
where id = #{id,jdbcType=VARCHAR}
insert into org_finance (id, uid, main_business_income,
management_cost, operating_profit, various_tax,
current_asset, net_fixed_asset, total_asset,
net_asset, gross_profit, net_profit,
sales_revenue, year, finance_url, research_cost, deleted_sign)
values (#{id,jdbcType=VARCHAR}, #{uid,jdbcType=VARCHAR}, #{mainBusinessIncome,jdbcType=DECIMAL},
#{managementCost,jdbcType=DECIMAL}, #{operatingProfit,jdbcType=DECIMAL}, #{variousTax,jdbcType=DECIMAL},
#{currentAsset,jdbcType=DECIMAL}, #{netFixedAsset,jdbcType=DECIMAL}, #{totalAsset,jdbcType=DECIMAL},
#{netAsset,jdbcType=DECIMAL}, #{grossProfit,jdbcType=DECIMAL}, #{netProfit,jdbcType=DECIMAL},
#{salesRevenue,jdbcType=DECIMAL}, #{year,jdbcType=INTEGER}, #{financeUrl,jdbcType=VARCHAR},
#{researchCost,jdbcType=DECIMAL}, #{deletedSign,jdbcType=INTEGER})
insert into org_finance
id,
uid,
main_business_income,
management_cost,
operating_profit,
various_tax,
current_asset,
net_fixed_asset,
total_asset,
net_asset,
gross_profit,
net_profit,
sales_revenue,
year,
finance_url,
research_cost,
deleted_sign,
#{id,jdbcType=VARCHAR},
#{uid,jdbcType=VARCHAR},
#{mainBusinessIncome,jdbcType=DECIMAL},
#{managementCost,jdbcType=DECIMAL},
#{operatingProfit,jdbcType=DECIMAL},
#{variousTax,jdbcType=DECIMAL},
#{currentAsset,jdbcType=DECIMAL},
#{netFixedAsset,jdbcType=DECIMAL},
#{totalAsset,jdbcType=DECIMAL},
#{netAsset,jdbcType=DECIMAL},
#{grossProfit,jdbcType=DECIMAL},
#{netProfit,jdbcType=DECIMAL},
#{salesRevenue,jdbcType=DECIMAL},
#{year,jdbcType=INTEGER},
#{financeUrl,jdbcType=VARCHAR},
#{researchCost,jdbcType=DECIMAL},
#{deletedSign,jdbcType=INTEGER},
update org_finance
uid = #{uid,jdbcType=VARCHAR},
main_business_income = #{mainBusinessIncome,jdbcType=DECIMAL},
management_cost = #{managementCost,jdbcType=DECIMAL},
operating_profit = #{operatingProfit,jdbcType=DECIMAL},
various_tax = #{variousTax,jdbcType=DECIMAL},
current_asset = #{currentAsset,jdbcType=DECIMAL},
net_fixed_asset = #{netFixedAsset,jdbcType=DECIMAL},
total_asset = #{totalAsset,jdbcType=DECIMAL},
net_asset = #{netAsset,jdbcType=DECIMAL},
gross_profit = #{grossProfit,jdbcType=DECIMAL},
net_profit = #{netProfit,jdbcType=DECIMAL},
sales_revenue = #{salesRevenue,jdbcType=DECIMAL},
year = #{year,jdbcType=INTEGER},
finance_url = #{financeUrl,jdbcType=VARCHAR},
research_cost = #{researchCost,jdbcType=DECIMAL},
deleted_sign = #{deletedSign,jdbcType=INTEGER},
where id = #{id,jdbcType=VARCHAR}
update org_finance
set uid = #{uid,jdbcType=VARCHAR},
main_business_income = #{mainBusinessIncome,jdbcType=INTEGER},
management_cost = #{managementCost,jdbcType=DECIMAL},
operating_profit = #{operatingProfit,jdbcType=DECIMAL},
various_tax = #{variousTax,jdbcType=DECIMAL},
current_asset = #{currentAsset,jdbcType=DECIMAL},
net_fixed_asset = #{netFixedAsset,jdbcType=DECIMAL},
total_asset = #{totalAsset,jdbcType=DECIMAL},
net_asset = #{netAsset,jdbcType=DECIMAL},
gross_profit = #{grossProfit,jdbcType=DECIMAL},
net_profit = #{netProfit,jdbcType=DECIMAL},
sales_revenue = #{salesRevenue,jdbcType=DECIMAL},
year = #{year,jdbcType=INTEGER},
finance_url = #{financeUrl,jdbcType=VARCHAR},
research_cost = #{researchCost,jdbcType=DECIMAL},
deleted_sign = #{deletedSign,jdbcType=INTEGER}
where id = #{id,jdbcType=VARCHAR}
update org_finance set deleted_sign = 1
where id in
#{item}