fix cms User order by joinTime desc

main
wangqing 8 months ago
parent 49a0d4cb4e
commit a967dd43f4

@ -391,6 +391,7 @@ public class UserInfoService {
queryReq.getCreateDateEnd())); queryReq.getCreateDateEnd()));
} }
Predicate[] predicates = new Predicate[predicateList.size()]; Predicate[] predicates = new Predicate[predicateList.size()];
criteriaQuery.orderBy(criteriaBuilder.desc(root.get("joinTime").as(Date.class)));
return criteriaBuilder.and(predicateList.toArray(predicates)); return criteriaBuilder.and(predicateList.toArray(predicates));
}; };
} }

Loading…
Cancel
Save