|
|
@@ -238,6 +238,7 @@ public class ApplyUserSpaceServiceImpl implements ApplyUserSpaceService {
|
|
|
Predicate[] predicates = new Predicate[list.size()];
|
|
|
predicates = list.toArray(predicates);
|
|
|
query.where(cb.and(predicates));
|
|
|
+ query.orderBy(cb.desc(root.get("submitDate").as(Timestamp.class)));
|
|
|
return query.getRestriction();
|
|
|
}
|
|
|
}, pageable);
|