String hql="from XxxVO where id in (?)";//这里有个真地方 注意一下,就是在设置参数的时候使用setParametList(lists);接收一个集合
setParameter是从0开始的