File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ Country代码:
88
88
89
89
###最新版本2.1.0
90
90
91
- 通用Mapper接口增加Example查询方法,包括以下方法:
91
+ * 通用Mapper接口增加Example查询方法,包括以下方法:
92
92
93
93
int selectCountByExample(Object example);
94
94
@@ -100,6 +100,8 @@ Country代码:
100
100
101
101
int updateByExample(@Param ("record") T record, @Param ("example") Object example);
102
102
103
+ * 通用` Example ` 增加了一个` exists ` 的参数,当` true ` 的时候如果使用的字段不存在会抛出异常,` false ` 时不抛出异常,但是不使用该字段的条件。
104
+
103
105
如果你使用Maven,只需要添加如下依赖:
104
106
105
107
``` xml
Original file line number Diff line number Diff line change 14
14
15
15
int updateByExample(@Param ("record") T record, @Param ("example") Object example);
16
16
17
+ * 通用` Example ` 增加了一个` exists ` 的参数,当` true ` 的时候如果使用的字段不存在会抛出异常,` false ` 时不抛出异常,但是不使用该字段的条件。
18
+
17
19
##V2.0.1 - 2015-02-28
18
20
19
21
* 增加拦截器,完善相应的文档
You can’t perform that action at this time.
0 commit comments