<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>
原文链接:https://blog.csdn.net/u014508939/java/article/details/79655819
原文:https://blog.51cto.com/u_14568060/2812377