Check and make sure that the class has been installed, and an entry exists in Sysxtypes.int[] ids = ArrayUtils.toPrimitive(set.toArray(new Integer[set.size()]));
,然后将ids插入查询中。return namedParameterJdbcTemplate.query("select distinct id from Coffee where id in ( :ids )&