MM们
mybatis中多条件删除例子如下:<delete id="delMultiByIds2" parameterType="java.util.List">delete from tb_duty where<foreach collection="list" item="item" index="index" separator="or">( dscd=#{item.dscd},and unit_id=#{item.unitId},and year=#{item.year},and month=#{item.month},and flag=#{item.flag} )</foreach></delete>