Skip to content

Commit 55bb8f8

Browse files
committed
更新文档。
1 parent fdf99f6 commit 55bb8f8

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ Country代码:
8888

8989
###最新版本2.1.0
9090

91-
通用Mapper接口增加Example查询方法,包括以下方法:
91+
* 通用Mapper接口增加Example查询方法,包括以下方法:
9292

9393
int selectCountByExample(Object example);
9494

@@ -100,6 +100,8 @@ Country代码:
100100

101101
int updateByExample(@Param("record") T record, @Param("example") Object example);
102102

103+
* 通用`Example`增加了一个`exists`的参数,当`true`的时候如果使用的字段不存在会抛出异常,`false`时不抛出异常,但是不使用该字段的条件。
104+
103105
如果你使用Maven,只需要添加如下依赖:
104106

105107
```xml

wiki/Changelog.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414

1515
int updateByExample(@Param("record") T record, @Param("example") Object example);
1616

17+
* 通用`Example`增加了一个`exists`的参数,当`true`的时候如果使用的字段不存在会抛出异常,`false`时不抛出异常,但是不使用该字段的条件。
18+
1719
##V2.0.1 - 2015-02-28
1820

1921
* 增加拦截器,完善相应的文档

0 commit comments

Comments
 (0)