语法 值 = =ANY (字段); 例子 查询ids中包含id=5的数据 select * from student where 5 = ANY (ids) mybatis select * from student where #{id} = ANY (ids)