mybatis里面foreach循环list

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

猜你喜欢

转载自blog.csdn.net/ke1ying/article/details/93874529
今日推荐