<delete id="deleteBatch" parameterType="java.util.List">
delete from md_prsnl_ent
where (PRSNLID,ENTID) in
<foreach item="item" index="index" collection="list" separator="," open="(" close=")">
(#{item.prsnlid},#{item.entid})
</foreach>
</delete>
以上的sql是需要同时满足的 如果是只要其中一个满足的话 sql这样写:SELECT * FROM 表 WHERE (条件1 IN(XX1,XX2)) OR (条件2 IN('YY1','YY2'))