Query query=session.createQuery("from User where id in (:ids)");
query.setParameterList("ids",ids);//后面的ids方法传进来的参数
2023-12-02 12:12:22
Query query=session.createQuery("from User where id in (:ids)");
query.setParameterList("ids",ids);//后面的ids方法传进来的参数