Mybatis一条语句执行多条sql的方法



begin
delete from ent_anche_ind_capital_info_tmp t2 where t2.cid= #cid#;
delete from ent_anche_ind_party_info_tmp t3 where t3.cid= #cid#;
delete from ent_anche_ind_lic_info_tmp t4 where t4.cid= #cid#;
delete from ent_anche_ind_web_info_tmp t5 where t5.cid= #cid#;
delete from ent_anche_ind_info_tmp t1 where t1.cid= #cid#;

end;

你可能感兴趣的:(MyBatis)