Updated code
This commit is contained in:
@@ -338,7 +338,8 @@ public class ApplicationDao {
|
||||
predicate = builder.and(predicate, root.get("status").in(statusNames));
|
||||
}
|
||||
predicate = builder.and(predicate, builder.equal(root.get("hubId"), userEntity.getHub().getId()));
|
||||
return predicate;
|
||||
query.orderBy(builder.desc(root.get(GepafinConstant.CREATED_DATE)));
|
||||
return predicate;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user