select id, add_owner, province_id, province_name, add_year, add_year_month, ws_hsytkh_clsl, ws_hsytkh_js_cod, ws_hsytkh_cs_cod, ws_hsytkh_co2, ws_sjcl_ch4_clsl, ws_sjcl_ch4_js_cod, ws_sjcl_ch4_cs_cod, ws_sjcl_ch4_pfyz, ws_sjcl_ch4_tsb, ws_sjcl_ch4_csc, ws_sjcl_ch4_co2, ws_td_n2o_clsl, ws_td_n2o_js_tn, ws_td_n2o_cs_tn, ws_td_n2o_pfyz, ws_td_n2o_co2, nyyj_dlxh_zhdl, nyyj_dlxh_zhdl_co2, nyyj_dlxh_jsbf, nyyj_dlxh_jsbf_co2, nyyj_dlxh_gfjf, nyyj_dlxh_gfjf_co2, nyyj_dlxh_tsjf, nyyj_dlxh_tsjf_co2, nyyj_dlxh_xdj, nyyj_dlxh_xdj_co2, nyyj_dlxh_sdcl, nyyj_dlxh_sdcl_co2, nyyj_dlxh_wncz, nyyj_dlxh_wncz_co2, nyyj_dlxh_shq, nyyj_dlxh_shq_co2, nyyj_dlxh_qt, nyyj_dlxh_qt_co2, nyyj_grrl_zq, nyyj_grrl_dyhz, nyyj_grrl_rl, nyyj_grrl_co2, wncl_yyzq_zqcl, wncl_yyzq_ch_zlfs, wncl_yyzq_co2, wncl_ddcl_zycll, wncl_ddcl_clqnd, wncl_ddcl_clhnd, wncl_ddcl_pfyz, wncl_ddcl_co2, wncl_hyfj_fjl, wncl_hyfj_ch4_co2, wncl_hyfj_n2o_co2, wncl_wnfs_xhl, wncl_wnfs_htbl, wncl_wnfs_co2, wncl_bwqrs_rslx, wncl_bwqrs_fsl, wncl_bwqrs_pfyz, wncl_bwqrs_ch4_co2, wncl_bwqrs_n2o_co2, wncl_wnrj_byh_xhl, wncl_wnrj_byh_htbl, wncl_wnrj_byh_co2, wncl_wnrj_qt_lx, wncl_wnrj_qt_xhl, wncl_wnrj_qt_pfyz, wncl_wnrj_qt_ch4_co2, wncl_wnrj_qt_n2o_co2, th_gf_zhdl, th_gf_co2, th_zss_scgm, th_zss_gyl, th_zss_co2, th_wn_clh_flwnl, th_wn_clh_co2, wscl_total_co2, nyyj_total_co2, wncl_total_co2, ttth_total_co2, zt_total_co2, wschytpfqd, exceedAvgHY, wjtykuCo2, gdsnyrlCo2, wscljdyjxhCo2, rbjsTTL, wnyyxhzqlyTTL, wnfshrjnlyTTL, dlxhPercent, yjxhPercent, jgrrlPercent, rlxhPercent, del_flag, revision, create_by, create_time, update_by, update_time, remark from t_xinyi_carbon_major insert into t_xinyi_carbon_major add_owner, province_id, province_name, add_year, add_year_month, ws_hsytkh_clsl, ws_hsytkh_js_cod, ws_hsytkh_cs_cod, ws_hsytkh_co2, ws_sjcl_ch4_clsl, ws_sjcl_ch4_js_cod, ws_sjcl_ch4_cs_cod, ws_sjcl_ch4_pfyz, ws_sjcl_ch4_tsb, ws_sjcl_ch4_csc, ws_sjcl_ch4_co2, ws_td_n2o_clsl, ws_td_n2o_js_tn, ws_td_n2o_cs_tn, ws_td_n2o_pfyz, ws_td_n2o_co2, nyyj_dlxh_zhdl, nyyj_dlxh_zhdl_co2, nyyj_dlxh_jsbf, nyyj_dlxh_jsbf_co2, nyyj_dlxh_gfjf, nyyj_dlxh_gfjf_co2, nyyj_dlxh_tsjf, nyyj_dlxh_tsjf_co2, nyyj_dlxh_xdj, nyyj_dlxh_xdj_co2, nyyj_dlxh_sdcl, nyyj_dlxh_sdcl_co2, nyyj_dlxh_wncz, nyyj_dlxh_wncz_co2, nyyj_dlxh_shq, nyyj_dlxh_shq_co2, nyyj_dlxh_qt, nyyj_dlxh_qt_co2, nyyj_grrl_zq, nyyj_grrl_dyhz, nyyj_grrl_rl, nyyj_grrl_co2, wncl_yyzq_zqcl, wncl_yyzq_ch_zlfs, wncl_yyzq_co2, wncl_ddcl_zycll, wncl_ddcl_clqnd, wncl_ddcl_clhnd, wncl_ddcl_pfyz, wncl_ddcl_co2, wncl_hyfj_fjl, wncl_hyfj_ch4_co2, wncl_hyfj_n2o_co2, wncl_wnfs_xhl, wncl_wnfs_htbl, wncl_wnfs_co2, wncl_bwqrs_rslx, wncl_bwqrs_fsl, wncl_bwqrs_pfyz, wncl_bwqrs_ch4_co2, wncl_bwqrs_n2o_co2, wncl_wnrj_byh_xhl, wncl_wnrj_byh_htbl, wncl_wnrj_byh_co2, wncl_wnrj_qt_lx, wncl_wnrj_qt_xhl, wncl_wnrj_qt_pfyz, wncl_wnrj_qt_ch4_co2, wncl_wnrj_qt_n2o_co2, th_gf_zhdl, th_gf_co2, th_zss_scgm, th_zss_gyl, th_zss_co2, th_wn_clh_flwnl, th_wn_clh_co2, wscl_total_co2, nyyj_total_co2, wncl_total_co2, ttth_total_co2, zt_total_co2, wschytpfqd, exceedAvgHY, wjtykuCo2, gdsnyrlCo2, wscljdyjxhCo2, rbjsTTL, wnyyxhzqlyTTL, wnfshrjnlyTTL, dlxhPercent, yjxhPercent, jgrrlPercent, rlxhPercent, del_flag, revision, create_by, create_time, update_by, update_time, remark, #{addOwner}, #{provinceId}, #{provinceName}, #{addYear}, #{addYearMonth}, #{wsHsytkhClsl}, #{wsHsytkhJsCod}, #{wsHsytkhCsCod}, #{wsHsytkhCo2}, #{wsSjclCh4Clsl}, #{wsSjclCh4JsCod}, #{wsSjclCh4CsCod}, #{wsSjclCh4Pfyz}, #{wsSjclCh4Tsb}, #{wsSjclCh4Csc}, #{wsSjclCh4Co2}, #{wsTdN2oClsl}, #{wsTdN2oJsTn}, #{wsTdN2oCsTn}, #{wsTdN2oPfyz}, #{wsTdN2oCo2}, #{nyyjDlxhZhdl}, #{nyyjDlxhZhdlCo2}, #{nyyjDlxhJsbf}, #{nyyjDlxhJsbfCo2}, #{nyyjDlxhGfjf}, #{nyyjDlxhGfjfCo2}, #{nyyjDlxhTsjf}, #{nyyjDlxhTsjfCo2}, #{nyyjDlxhXdj}, #{nyyjDlxhXdjCo2}, #{nyyjDlxhSdcl}, #{nyyjDlxhSdclCo2}, #{nyyjDlxhWncz}, #{nyyjDlxhWnczCo2}, #{nyyjDlxhShq}, #{nyyjDlxhShqCo2}, #{nyyjDlxhQt}, #{nyyjDlxhQtCo2}, #{nyyjGrrlZq}, #{nyyjGrrlDyhz}, #{nyyjGrrlRl}, #{nyyjGrrlCo2}, #{wnclYyzqZqcl}, #{wnclYyzqChZlfs}, #{wnclYyzqCo2}, #{wnclDdclZycll}, #{wnclDdclClqnd}, #{wnclDdclClhnd}, #{wnclDdclPfyz}, #{wnclDdclCo2}, #{wnclHyfjFjl}, #{wnclHyfjCh4Co2}, #{wnclHyfjN2oCo2}, #{wnclWnfsXhl}, #{wnclWnfsHtbl}, #{wnclWnfsCo2}, #{wnclBwqrsRslx}, #{wnclBwqrsFsl}, #{wnclBwqrsPfyz}, #{wnclBwqrsCh4Co2}, #{wnclBwqrsN2oCo2}, #{wnclWnrjByhXhl}, #{wnclWnrjByhHtbl}, #{wnclWnrjByhCo2}, #{wnclWnrjQtLx}, #{wnclWnrjQtXhl}, #{wnclWnrjQtPfyz}, #{wnclWnrjQtCh4Co2}, #{wnclWnrjQtN2oCo2}, #{thGfZhdl}, #{thGfCo2}, #{thZssScgm}, #{thZssGyl}, #{thZssCo2}, #{thWnClhFlwnl}, #{thWnClhCo2}, #{wsclTotalCo2}, #{nyyjTotalCo2}, #{wnclTotalCo2}, #{ttthTotalCo2}, #{ztTotalCo2}, #{wschytpfqd}, #{exceedAvgHY}, #{wjtykuCo2}, #{gdsnyrlCo2}, #{wscljdyjxhCo2}, #{rbjsTTL}, #{wnyyxhzqlyTTL}, #{wnfshrjnlyTTL}, #{dlxhPercent}, #{yjxhPercent}, #{jgrrlPercent}, #{rlxhPercent}, #{delFlag}, #{revision}, #{createBy}, #{createTime}, #{updateBy}, #{updateTime}, #{remark}, update t_xinyi_carbon_major add_owner = #{addOwner}, province_id = #{provinceId}, province_name = #{provinceName}, add_year = #{addYear}, add_year_month = #{addYearMonth}, ws_hsytkh_clsl = #{wsHsytkhClsl}, ws_hsytkh_js_cod = #{wsHsytkhJsCod}, ws_hsytkh_cs_cod = #{wsHsytkhCsCod}, ws_hsytkh_co2 = #{wsHsytkhCo2}, ws_sjcl_ch4_clsl = #{wsSjclCh4Clsl}, ws_sjcl_ch4_js_cod = #{wsSjclCh4JsCod}, ws_sjcl_ch4_cs_cod = #{wsSjclCh4CsCod}, ws_sjcl_ch4_pfyz = #{wsSjclCh4Pfyz}, ws_sjcl_ch4_tsb = #{wsSjclCh4Tsb}, ws_sjcl_ch4_csc = #{wsSjclCh4Csc}, ws_sjcl_ch4_co2 = #{wsSjclCh4Co2}, ws_td_n2o_clsl = #{wsTdN2oClsl}, ws_td_n2o_js_tn = #{wsTdN2oJsTn}, ws_td_n2o_cs_tn = #{wsTdN2oCsTn}, ws_td_n2o_pfyz = #{wsTdN2oPfyz}, ws_td_n2o_co2 = #{wsTdN2oCo2}, nyyj_dlxh_zhdl = #{nyyjDlxhZhdl}, nyyj_dlxh_zhdl_co2 = #{nyyjDlxhZhdlCo2}, nyyj_dlxh_jsbf = #{nyyjDlxhJsbf}, nyyj_dlxh_jsbf_co2 = #{nyyjDlxhJsbfCo2}, nyyj_dlxh_gfjf = #{nyyjDlxhGfjf}, nyyj_dlxh_gfjf_co2 = #{nyyjDlxhGfjfCo2}, nyyj_dlxh_tsjf = #{nyyjDlxhTsjf}, nyyj_dlxh_tsjf_co2 = #{nyyjDlxhTsjfCo2}, nyyj_dlxh_xdj = #{nyyjDlxhXdj}, nyyj_dlxh_xdj_co2 = #{nyyjDlxhXdjCo2}, nyyj_dlxh_sdcl = #{nyyjDlxhSdcl}, nyyj_dlxh_sdcl_co2 = #{nyyjDlxhSdclCo2}, nyyj_dlxh_wncz = #{nyyjDlxhWncz}, nyyj_dlxh_wncz_co2 = #{nyyjDlxhWnczCo2}, nyyj_dlxh_shq = #{nyyjDlxhShq}, nyyj_dlxh_shq_co2 = #{nyyjDlxhShqCo2}, nyyj_dlxh_qt = #{nyyjDlxhQt}, nyyj_dlxh_qt_co2 = #{nyyjDlxhQtCo2}, nyyj_grrl_zq = #{nyyjGrrlZq}, nyyj_grrl_dyhz = #{nyyjGrrlDyhz}, nyyj_grrl_rl = #{nyyjGrrlRl}, nyyj_grrl_co2 = #{nyyjGrrlCo2}, wncl_yyzq_zqcl = #{wnclYyzqZqcl}, wncl_yyzq_ch_zlfs = #{wnclYyzqChZlfs}, wncl_yyzq_co2 = #{wnclYyzqCo2}, wncl_ddcl_zycll = #{wnclDdclZycll}, wncl_ddcl_clqnd = #{wnclDdclClqnd}, wncl_ddcl_clhnd = #{wnclDdclClhnd}, wncl_ddcl_pfyz = #{wnclDdclPfyz}, wncl_ddcl_co2 = #{wnclDdclCo2}, wncl_hyfj_fjl = #{wnclHyfjFjl}, wncl_hyfj_ch4_co2 = #{wnclHyfjCh4Co2}, wncl_hyfj_n2o_co2 = #{wnclHyfjN2oCo2}, wncl_wnfs_xhl = #{wnclWnfsXhl}, wncl_wnfs_htbl = #{wnclWnfsHtbl}, wncl_wnfs_co2 = #{wnclWnfsCo2}, wncl_bwqrs_rslx = #{wnclBwqrsRslx}, wncl_bwqrs_fsl = #{wnclBwqrsFsl}, wncl_bwqrs_pfyz = #{wnclBwqrsPfyz}, wncl_bwqrs_ch4_co2 = #{wnclBwqrsCh4Co2}, wncl_bwqrs_n2o_co2 = #{wnclBwqrsN2oCo2}, wncl_wnrj_byh_xhl = #{wnclWnrjByhXhl}, wncl_wnrj_byh_htbl = #{wnclWnrjByhHtbl}, wncl_wnrj_byh_co2 = #{wnclWnrjByhCo2}, wncl_wnrj_qt_lx = #{wnclWnrjQtLx}, wncl_wnrj_qt_xhl = #{wnclWnrjQtXhl}, wncl_wnrj_qt_pfyz = #{wnclWnrjQtPfyz}, wncl_wnrj_qt_ch4_co2 = #{wnclWnrjQtCh4Co2}, wncl_wnrj_qt_n2o_co2 = #{wnclWnrjQtN2oCo2}, th_gf_zhdl = #{thGfZhdl}, th_gf_co2 = #{thGfCo2}, th_zss_scgm = #{thZssScgm}, th_zss_gyl = #{thZssGyl}, th_zss_co2 = #{thZssCo2}, th_wn_clh_flwnl = #{thWnClhFlwnl}, th_wn_clh_co2 = #{thWnClhCo2}, wscl_total_co2 = #{wsclTotalCo2}, nyyj_total_co2 = #{nyyjTotalCo2}, wncl_total_co2 = #{wnclTotalCo2}, ttth_total_co2 = #{ttthTotalCo2}, zt_total_co2 = #{ztTotalCo2}, wschytpfqd = #{wschytpfqd}, exceedAvgHY = #{exceedAvgHY}, wjtykuCo2 = #{wjtykuCo2}, gdsnyrlCo2 = #{gdsnyrlCo2}, wscljdyjxhCo2 = #{wscljdyjxhCo2}, rbjsTTL = #{rbjsTTL}, wnyyxhzqlyTTL = #{wnyyxhzqlyTTL}, wnfshrjnlyTTL = #{wnfshrjnlyTTL}, dlxhPercent = #{dlxhPercent}, yjxhPercent = #{yjxhPercent}, jgrrlPercent = #{jgrrlPercent}, rlxhPercent = #{rlxhPercent}, del_flag = #{delFlag}, revision = #{revision}, create_by = #{createBy}, create_time = #{createTime}, update_by = #{updateBy}, update_time = #{updateTime}, remark = #{remark}, ,revision = revision + 1 where id = #{id} update t_xinyi_carbon_major set del_flag = 2,revision = revision + 1 where del_flag = 0 and id = #{id} update t_xinyi_carbon_major set del_flag = 2,revision = revision + 1 where del_flag = 0 and id in #{id}