Skip to content

Commit

Permalink
更新文档。
Browse files Browse the repository at this point in the history
  • Loading branch information
abel533 committed Jun 11, 2015
1 parent 3f81439 commit c106fc7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,9 @@ http://repo1.maven.org/maven2/javax/persistence/persistence-api/1.0/

7. [如何使用Mapper专用的MyBatis Generator插件](http://git.oschina.net/free/Mapper/blob/master/wiki/mapper3/7.UseMBG.md)

8. [在Spring4中使用通用Mapper](http://git.oschina.net/free/Mapper/blob/master/wiki/mapper/4.Spring4.md)
8. [在Spring4中使用通用Mapper](http://git.oschina.net/free/Mapper2/blob/master/wiki/mapper/4.Spring4.md)

9. [Mapper3常见问题和用法](http://git.oschina.net/free/Mapper/blob/master/wiki/mapper3/9.QA.md)

###通用Mapper 2

Expand Down
7 changes: 7 additions & 0 deletions wiki/mapper3/9.QA.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#Mapper3常见问题和用法

##1.查询时如何进行排序?

Mapper3在查询的时候支持通过`@OrderBy`注解来设置默认的排序方式。

当需要特殊排序时,可以使用Example(或Condition)查询,通过`setOrderByClause`方法设置排序的列。

0 comments on commit c106fc7

Please sign in to comment.