如何跳过?在准备好的声明中

How to skip the ? in prepared statement

这是我的 PostgreSQL 原始查询,它运行良好。

    select * from employee where to_json(array( select jsonb_array_elements(employeeids) ->> 'id'))::
jsonb?|array['22', '17', '23', '24'] AND empname =?;

但是当我 运行 java 代码时,我不希望给出两个值,但是第一个?是查询的一部分,我不需要为其提供任何值。

用两个问号转义第一个问号 ??