forked from abel533/Mapper
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
10 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#Mapper3常见问题和用法 | ||
|
||
##1.查询时如何进行排序? | ||
|
||
Mapper3在查询的时候支持通过`@OrderBy`注解来设置默认的排序方式。 | ||
|
||
当需要特殊排序时,可以使用Example(或Condition)查询,通过`setOrderByClause`方法设置排序的列。 |