//listproductSn 是一个list,其存储函数IN所需的条件 select * from A where 1=1 AND product_sprotType IN <foreach collection="listproductSn" item="item" index="index" open="(" separator="," close=")"> #{item} </foreach>
mybatis中使用IN函数
猜你喜欢
转载自a754782339.iteye.com/blog/2244826
今日推荐
周排行