select ID, jqr_zhuantai, jqr_baojing, jqr_ID, jqr_lc_ID, jqr_lc_bj, jyj_zt_jyb_llfk_1, jyj_zt_jyb_llfk_2, jyj_zt_yuangcheng_1, jyj_zt_yuangcheng_2 from T_tb_xie
insert into T_tb_xie
ID,
jqr_zhuantai,
jqr_baojing,
jqr_ID,
jqr_lc_ID,
jqr_lc_bj,
#{ID},
#{jqrZhuantai},
#{jqrBaojing},
#{jqrId},
#{jqrLcId},
#{jqrLcBj},
update T_tb_xie
jqr_zhuantai = #{jqrZhuantai},
jqr_baojing = #{jqrBaojing},
jqr_ID = #{jqrId},
jqr_lc_ID = #{jqrLcId},
jqr_lc_bj = #{jqrLcBj},
where ID = #{ID}
update T_tb_xie set del_flag = 2,revision = revision + 1 where del_flag = 0 and ID = #{ID}
update T_tb_xie set del_flag = 2,revision = revision + 1 where del_flag = 0 and ID in
#{ID}