select id, enterprise_name, location, industry_name, code, main_business, land_area, total_industrial_value, gdp, taxable_income, paid_tax, main_business_income, employee_number, profit, owner_equity, funding, energy_consume, power_consume, year, season, month from enterprise_base_data_total
insert into enterprise_base_data_total
id,
enterprise_name,
location,
industry_name,
code,
main_business,
land_area,
total_industrial_value,
gdp,
taxable_income,
paid_tax,
main_business_income,
employee_number,
profit,
owner_equity,
funding,
energy_consume,
power_consume,
year,
season,
month,
#{id},
#{enterpriseName},
#{location},
#{industryName},
#{code},
#{mainBusiness},
#{landArea},
#{totalIndustrialValue},
#{gdp},
#{taxableIncome},
#{paidTax},
#{mainBusinessIncome},
#{employeeNumber},
#{profit},
#{ownerEquity},
#{funding},
#{energyConsume},
#{powerConsume},
#{year},
#{season},
#{month},
update enterprise_base_data_total
id = #{id},
location = #{location},
industry_name = #{industryName},
code = #{code},
main_business = #{mainBusiness},
land_area = #{landArea},
total_industrial_value = #{totalIndustrialValue},
gdp = #{gdp},
taxable_income = #{taxableIncome},
paid_tax = #{paidTax},
main_business_income = #{mainBusinessIncome},
employee_number = #{employeeNumber},
profit = #{profit},
owner_equity = #{ownerEquity},
funding = #{funding},
energy_consume = #{energyConsume},
power_consume = #{powerConsume},
year = #{year},
season = #{season},
month = #{month},
where enterprise_name = #{enterpriseName}
delete from enterprise_base_data_total where enterprise_name = #{enterpriseName}
delete from enterprise_base_data_total where enterprise_name in
#{enterpriseName}