File tree Expand file tree Collapse file tree 7 files changed +11
-60
lines changed
java/com/isea533/mybatis/mapper
test/java/com/isea533/mybatis/test Expand file tree Collapse file tree 7 files changed +11
-60
lines changed Original file line number Diff line number Diff line change 13
13
<project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
14
14
<targetProject >${basedir}/src/main/java</targetProject >
15
15
<!-- 依赖版本 -->
16
- <mapper .version>3.0.0 </mapper .version>
16
+ <mapper .version>3.1.0-SNAPSHOT </mapper .version>
17
17
<pagehelper .version>3.7.4</pagehelper .version>
18
18
</properties >
19
19
183
183
</dependency >
184
184
<!-- 通用Mapper-->
185
185
<dependency >
186
- <groupId >com.github.abel533 </groupId >
186
+ <groupId >tk.mybatis </groupId >
187
187
<artifactId >mapper</artifactId >
188
188
<version >${mapper.version} </version >
189
189
</dependency >
190
- <dependency >
191
- <groupId >com.github.abel533</groupId >
192
- <artifactId >entitymapper</artifactId >
193
- <version >1.0.0</version >
194
- <exclusions >
195
- <exclusion >
196
- <groupId >com.github.abel533</groupId >
197
- <artifactId >mapper</artifactId >
198
- </exclusion >
199
- </exclusions >
200
- </dependency >
201
190
</dependencies >
202
191
<dependencyManagement >
203
192
<dependencies >
Original file line number Diff line number Diff line change 1
1
package com .isea533 .mybatis .mapper ;
2
2
3
- import com .github .abel533 .mapper .Mapper ;
4
3
import com .isea533 .mybatis .model .Country2 ;
5
- import com .isea533 .mybatis .model .Country2Example ;
6
- import org .apache .ibatis .annotations .Param ;
7
-
8
- import java .util .List ;
4
+ import tk .mybatis .mapper .common .Mapper ;
9
5
10
6
public interface Country2Mapper extends Mapper <Country2 > {
11
7
Original file line number Diff line number Diff line change 1
1
package com .isea533 .mybatis .mapper ;
2
2
3
- import com . github . abel533 . mapper .Mapper ;
3
+ import tk . mybatis . mapper . common .Mapper ;
4
4
import com .isea533 .mybatis .model .Country ;
5
5
6
6
public interface CountryMapper extends Mapper <Country > {
Original file line number Diff line number Diff line change 1
1
package com .isea533 .mybatis .mapper ;
2
2
3
- import com . github . abel533 . mapper .Mapper ;
3
+ import tk . mybatis . mapper . common .Mapper ;
4
4
import com .isea533 .mybatis .model .UserInfo ;
5
5
6
6
public interface UserInfoMapper extends Mapper <UserInfo > {
Original file line number Diff line number Diff line change 1
1
package com .isea533 .mybatis .mapper ;
2
2
3
- import com . github . abel533 . mapper .Mapper ;
3
+ import tk . mybatis . mapper . common .Mapper ;
4
4
import com .isea533 .mybatis .model .UserLogin ;
5
5
6
6
public interface UserLoginMapper extends Mapper <UserLogin > {
Original file line number Diff line number Diff line change 42
42
</value >
43
43
</property >
44
44
</bean >
45
- <bean class =" com.github.abel533 .mapperhelper.MapperInterceptor" >
45
+ <bean class =" tk.mybatis.mapper .mapperhelper.MapperInterceptor" >
46
46
<property name =" properties" >
47
47
<value >
48
- mappers=com.github.abel533. mapper.Mapper
49
- IDENTITY=MYSQL
50
- notEmpty=true
48
+ mappers=tk.mybatis. mapper.common .Mapper
49
+ IDENTITY=MYSQL
50
+ notEmpty=true
51
51
</value >
52
52
</property >
53
53
</bean >
56
56
</bean >
57
57
58
58
<bean class =" org.mybatis.spring.mapper.MapperScannerConfigurer" >
59
- <property name =" basePackage" value =" com.isea533.mybatis.mapper,com.github.abel533.entity.mapper" />
60
- </bean >
61
-
62
- <bean id =" entityMapper" class =" com.github.abel533.entity.EntityMapper" scope =" prototype" >
63
- <constructor-arg ref =" commonMapper" />
59
+ <property name =" basePackage" value =" com.isea533.mybatis.mapper" />
64
60
</bean >
65
61
66
62
<bean id =" sqlSession" class =" org.mybatis.spring.SqlSessionTemplate" scope =" prototype" >
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments