根据多个id进行查询的示例代码如下所示: Page getUserListByIds(@Param("ids") List ids); select * from student where id in #{userid}