mybatis 数据条件操作
1.接口传值是list
<foreach item="id" collection="array" open="(" separator="," close=")">
#{id}
</foreach>
2.接口传值是hashmap类型并且包含
<foreach item="id" index="index" collection="ids" open="(" separator="," close=")">
#{id}
</foreach>