select user.id from user where user.id in <foreach item="tagName" index="index" collection="idsStr" open="(" separator="," close=")"> #{tagName} </foreach>
mybatis in 查询
最新推荐文章于 2024-09-10 08:00:00 发布
select user.id from user where user.id in <foreach item="tagName" index="index" collection="idsStr" open="(" separator="," close=")"> #{tagName} </foreach>