mybatis动态sql中foreach的使用之-----List传单个和多个参数
先上代码,先看下大概:
update tb_dm_shoping set uip='996' where userId in
<if test="list!=null and list.size()>0">
<foreach collection="list" index="index" item="item" open="(" separator="," c...
原创
2019-04-16 19:47:34 ·
4958 阅读 ·
0 评论