hibernate,createCriteria in条件 是一个集合。list 或 数组等
cq.in("states", new String[]{"2","4","5"});
cq.addOrder("shenheshijian", SortDirection.desc);

04-27 19:56