select id, report_no, fiscal_year, contract_goal, new_user_goal, old_user_goal, towns_user_goal, commerce_goal,
industry_goal, install_user_goal, sales_number_goal, development_idea, resource_allocation, sys_ctime, sys_utime,
create_by, update_by, delete_flag, new_net_profit, new_install_new, new_install_old, new_install_village_new,
new_install_village_old, new_install_gas_coal, new_install_Industry, new_install_commerce, new_install_small_enterprise,
new_install_total, new_refund_previous, new_refund_previous_new, new_refund_previous_old, new_refund_previous_village,
new_refund_previous_gov, new_refund_previous_cost, new_refund_previous_arrearage, new_refund_this_install_arrearage,
new_refund_this_new, new_refund_this_old, new_refund_this_village, new_refund_this_gov, new_refund_this_Industry,
new_refund_this_gas_arrearage, new_sell, new_sell_resident, new_sell_heating, new_sell_Industry, new_sell_commerce,
new_sell_CNG, new_sell_LNG, new_sell_station, new_sell_wholesale, new_sell_trade, new_sell_conduit,
new_sell_LNG_trade, new_balance_sell, new_balance_resident, new_balance_no_resident, new_balance_wholesale,
new_profit_install, new_profit_install_resident, new_profit_install_commerce, new_profit_sell, new_profit_sell_resident,
new_profit_sell_commerce, new_profit_sell_car, new_profit_sell_trade, new_profit_other, new_profit_new,
new_profit_total, new_profit_total_cost, new_net_profit_total from development_plan
insert into development_plan
id,
report_no,
fiscal_year,
contract_goal,
new_user_goal,
old_user_goal,
towns_user_goal,
commerce_goal,
industry_goal,
install_user_goal,
sales_number_goal,
development_idea,
resource_allocation,
sys_ctime,
sys_utime,
create_by,
update_by,
delete_flag,
new_net_profit,
new_install_new,
new_install_old,
new_install_village_new,
new_install_village_old,
new_install_gas_coal,
new_install_Industry,
new_install_commerce,
new_install_small_enterprise,
new_install_total,
new_refund_previous,
new_refund_previous_new,
new_refund_previous_old,
new_refund_previous_village,
new_refund_previous_gov,
new_refund_previous_cost,
new_refund_previous_arrearage,
new_refund_this_install_arrearage,
new_refund_this_new,
new_refund_this_old,
new_refund_this_village,
new_refund_this_gov,
new_refund_this_Industry,
new_refund_this_gas_arrearage,
new_sell,
new_sell_resident,
new_sell_heating,
new_sell_Industry,
new_sell_commerce,
new_sell_CNG,
new_sell_LNG,
new_sell_station,
new_sell_wholesale,
new_sell_trade,
new_sell_conduit,
new_sell_LNG_trade,
new_balance_sell,
new_balance_resident,
new_balance_no_resident,
new_balance_wholesale,
new_profit_install,
new_profit_install_resident,
new_profit_install_commerce,
new_profit_sell,
new_profit_sell_resident,
new_profit_sell_commerce,
new_profit_sell_car,
new_profit_sell_trade,
new_profit_other,
new_profit_new,
new_profit_total,
new_profit_total_cost,
new_net_profit_total,
#{id},
#{reportNo},
#{fiscalYear},
#{contractGoal},
#{newUserGoal},
#{oldUserGoal},
#{townsUserGoal},
#{commerceGoal},
#{industryGoal},
#{installUserGoal},
#{salesNumberGoal},
#{developmentIdea},
#{resourceAllocation},
#{sysCtime},
#{sysUtime},
#{createBy},
#{updateBy},
#{deleteFlag},
#{newNetProfit},
#{newInstallNew},
#{newInstallOld},
#{newInstallVillageNew},
#{newInstallVillageOld},
#{newInstallGasCoal},
#{newInstallIndustry},
#{newInstallCommerce},
#{newInstallSmallEnterprise},
#{newInstallTotal},
#{newRefundPrevious},
#{newRefundPreviousNew},
#{newRefundPreviousOld},
#{newRefundPreviousVillage},
#{newRefundPreviousGov},
#{newRefundPreviousCost},
#{newRefundPreviousArrearage},
#{newRefundThisInstallArrearage},
#{newRefundThisNew},
#{newRefundThisOld},
#{newRefundThisVillage},
#{newRefundThisGov},
#{newRefundThisIndustry},
#{newRefundThisGasArrearage},
#{newSell},
#{newSellResident},
#{newSellHeating},
#{newSellIndustry},
#{newSellCommerce},
#{newSellCng},
#{newSellLng},
#{newSellStation},
#{newSellWholesale},
#{newSellTrade},
#{newSellConduit},
#{newSellLngTrade},
#{newBalanceSell},
#{newBalanceResident},
#{newBalanceNoResident},
#{newBalanceWholesale},
#{newProfitInstall},
#{newProfitInstallResident},
#{newProfitInstallCommerce},
#{newProfitSell},
#{newProfitSellResident},
#{newProfitSellCommerce},
#{newProfitSellCar},
#{newProfitSellTrade},
#{newProfitOther},
#{newProfitNew},
#{newProfitTotal},
#{newProfitTotalCost},
#{newNetProfitTotal},
update development_plan
report_no = #{reportNo},
fiscal_year = #{fiscalYear},
contract_goal = #{contractGoal},
new_user_goal = #{newUserGoal},
old_user_goal = #{oldUserGoal},
towns_user_goal = #{townsUserGoal},
commerce_goal = #{commerceGoal},
industry_goal = #{industryGoal},
install_user_goal = #{installUserGoal},
sales_number_goal = #{salesNumberGoal},
development_idea = #{developmentIdea},
resource_allocation = #{resourceAllocation},
sys_ctime = #{sysCtime},
sys_utime = #{sysUtime},
create_by = #{createBy},
update_by = #{updateBy},
delete_flag = #{deleteFlag},
new_net_profit = #{newNetProfit},
new_install_new = #{newInstallNew},
new_install_old = #{newInstallOld},
new_install_village_new = #{newInstallVillageNew},
new_install_village_old = #{newInstallVillageOld},
new_install_gas_coal = #{newInstallGasCoal},
new_install_Industry = #{newInstallIndustry},
new_install_commerce = #{newInstallCommerce},
new_install_small_enterprise = #{newInstallSmallEnterprise},
new_install_total = #{newInstallTotal},
new_refund_previous = #{newRefundPrevious},
new_refund_previous_new = #{newRefundPreviousNew},
new_refund_previous_old = #{newRefundPreviousOld},
new_refund_previous_village = #{newRefundPreviousVillage},
new_refund_previous_gov = #{newRefundPreviousGov},
new_refund_previous_cost = #{newRefundPreviousCost},
new_refund_previous_arrearage = #{newRefundPreviousArrearage},
new_refund_this_install_arrearage = #{newRefundThisInstallArrearage},
new_refund_this_new = #{newRefundThisNew},
new_refund_this_old = #{newRefundThisOld},
new_refund_this_village = #{newRefundThisVillage},
new_refund_this_gov = #{newRefundThisGov},
new_refund_this_Industry = #{newRefundThisIndustry},
new_refund_this_gas_arrearage = #{newRefundThisGasArrearage},
new_sell = #{newSell},
new_sell_resident = #{newSellResident},
new_sell_heating = #{newSellHeating},
new_sell_Industry = #{newSellIndustry},
new_sell_commerce = #{newSellCommerce},
new_sell_CNG = #{newSellCng},
new_sell_LNG = #{newSellLng},
new_sell_station = #{newSellStation},
new_sell_wholesale = #{newSellWholesale},
new_sell_trade = #{newSellTrade},
new_sell_conduit = #{newSellConduit},
new_sell_LNG_trade = #{newSellLngTrade},
new_balance_sell = #{newBalanceSell},
new_balance_resident = #{newBalanceResident},
new_balance_no_resident = #{newBalanceNoResident},
new_balance_wholesale = #{newBalanceWholesale},
new_profit_install = #{newProfitInstall},
new_profit_install_resident = #{newProfitInstallResident},
new_profit_install_commerce = #{newProfitInstallCommerce},
new_profit_sell = #{newProfitSell},
new_profit_sell_resident = #{newProfitSellResident},
new_profit_sell_commerce = #{newProfitSellCommerce},
new_profit_sell_car = #{newProfitSellCar},
new_profit_sell_trade = #{newProfitSellTrade},
new_profit_other = #{newProfitOther},
new_profit_new = #{newProfitNew},
new_profit_total = #{newProfitTotal},
new_profit_total_cost = #{newProfitTotalCost},
new_net_profit_total = #{newNetProfitTotal},
where report_no = #{reportNo}
update development_plan
delete_flag = 1
where report_no = #{reportNo}
delete from development_plan where id in
#{id}