File tree Expand file tree Collapse file tree 3 files changed +12
-8
lines changed
src/main/java/tk/mybatis/mapper/provider Expand file tree Collapse file tree 3 files changed +12
-8
lines changed Original file line number Diff line number Diff line change @@ -76,7 +76,11 @@ Country代码:
76
76
77
77
##Maven坐标以及下载地址
78
78
79
- ###最新版本3.1.0 - 2015-06-10
79
+ ###最新版本3.1.1 - 2015-07-01
80
+
81
+ * 解决` ConditionMapper ` 中` selectByCondition ` 和` updateByCondition ` 方法错误
82
+
83
+ ###3 .1.0 - 2015-06-10
80
84
81
85
* 基础包名从` com.github.abel533 ` 改为` tk.mybatis.mapper `
82
86
* Maven的groupId改为` tk.mybatis ` ,artifactId为` mapper `
Original file line number Diff line number Diff line change 1
- <project xmlns =" http://maven.apache .org/POM/4.0.0 " xmlns : xsi =" http://www.w3 .org/2001/XMLSchema-instance "
1
+ <project xmlns : xsi =" http://www.w3 .org/2001/XMLSchema-instance " xmlns =" http://maven.apache .org/POM/4.0.0 "
2
2
xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
3
3
<modelVersion >4.0.0</modelVersion >
4
4
5
5
<groupId >tk.mybatis</groupId >
6
6
<artifactId >mapper</artifactId >
7
- <version >3.1.0 </version >
7
+ <version >3.1.1 </version >
8
8
<packaging >jar</packaging >
9
9
10
10
<name >mapper</name >
Original file line number Diff line number Diff line change 24
24
25
25
package tk .mybatis .mapper .provider ;
26
26
27
- import tk .mybatis .mapper .mapperhelper .EntityHelper ;
28
- import tk .mybatis .mapper .mapperhelper .MapperHelper ;
29
- import tk .mybatis .mapper .mapperhelper .MapperTemplate ;
30
27
import org .apache .ibatis .builder .StaticSqlSource ;
31
28
import org .apache .ibatis .jdbc .SQL ;
32
29
import org .apache .ibatis .mapping .MappedStatement ;
33
30
import org .apache .ibatis .mapping .ParameterMapping ;
34
31
import org .apache .ibatis .scripting .xmltags .*;
32
+ import tk .mybatis .mapper .mapperhelper .EntityHelper ;
33
+ import tk .mybatis .mapper .mapperhelper .MapperHelper ;
34
+ import tk .mybatis .mapper .mapperhelper .MapperTemplate ;
35
35
36
36
import java .util .LinkedList ;
37
37
import java .util .List ;
@@ -548,7 +548,7 @@ public SqlNode deleteByCondition(MappedStatement ms) {
548
548
* @return
549
549
*/
550
550
public SqlNode selectByCondition (MappedStatement ms ) {
551
- return selectByCondition (ms );
551
+ return selectByExample (ms );
552
552
}
553
553
554
554
/**
@@ -578,6 +578,6 @@ public SqlNode updateByConditionSelective(MappedStatement ms) {
578
578
* @return
579
579
*/
580
580
public SqlNode updateByCondition (MappedStatement ms ) {
581
- return updateByCondition (ms );
581
+ return updateByExample (ms );
582
582
}
583
583
}
You can’t perform that action at this time.
0 commit comments