红联Linux门户
Linux帮助

Bean Query 1.1.5发布,添加多重排序

发布时间:2016-04-03 17:52:02来源:红联作者:baihuo
Bean Query 1.1.5 发布。

添加新的功能:增加多重排序的支持[code]List sortedResult=select(Book.class).orderBy(
orderByProperty("author.name").desc(),
orderByProperty("bookName"),
yourOwnComparator
).executeFrom(bookCollection);[/code]软件详情:https://github.com/Jimmy-Shi/bean-query

来自:开源中国社区
文章评论

共有 0 条评论