mybatis里面foreach循环list

109 阅读1分钟

where w.id  in
<foreach collection="list" index="index" item="item" open="(" separator="," close=")">
#{item}      
</foreach>