mybatise根据list参数查询

where id in
<foreach item="item" index="index" collection="map.idList" open="(" separator="," close=")"> #{map.idList[${index}]} </foreach>

 

posted @ 2019-12-04 17:37  nisam  阅读(256)  评论(0)    收藏  举报