hql 按照某个字段排序,并取前10条记录

			String sql="from PsPatrolMission a order by a.createTime desc where rownum <= 10";

猜你喜欢

转载自blog.csdn.net/qq_40216244/article/details/81173766
HQL