File tree Expand file tree Collapse file tree 5 files changed +9
-9
lines changed
src/test/java/org/apache/ibatis/submitted
annotion_many_one_add_columnprefix
annotion_many_one_add_resultmapid Expand file tree Collapse file tree 5 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -32,5 +32,5 @@ public interface RoleDao {
32
32
@ Result (column = "name" , property = "name" )
33
33
})
34
34
// @formatter:on
35
- public List <Role > findAll ();
35
+ List <Role > findAll ();
36
36
}
Original file line number Diff line number Diff line change @@ -32,5 +32,5 @@ public interface RoleDao {
32
32
@ Result (column = "role_name" , property = "roleName" )
33
33
})
34
34
// @formatter:on
35
- public List <Role > findAll ();
35
+ List <Role > findAll ();
36
36
}
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ public interface UserDao {
39
39
@ Result (property = "roles" , many = @ Many (resultMap = "org.apache.ibatis.submitted.annotion_many_one_add_resultmapid.RoleDao.roleMap1" ))
40
40
})
41
41
// @formatter:on
42
- public List <User > findAll ();
42
+ List <User > findAll ();
43
43
44
44
// @formatter:off
45
45
@ Select ({"select" ,
@@ -53,7 +53,7 @@ public interface UserDao {
53
53
@ Result (property = "roles" , many = @ Many (resultMap = "org.apache.ibatis.submitted.annotion_many_one_add_resultmapid.RoleDao.roleMap2" ))
54
54
})
55
55
// @formatter:on
56
- public List <User > findAll2 ();
56
+ List <User > findAll2 ();
57
57
58
58
// @formatter:off
59
59
@ Select ({"select" ,
@@ -67,7 +67,7 @@ public interface UserDao {
67
67
@ Result (property = "role" , one = @ One (resultMap = "org.apache.ibatis.submitted.annotion_many_one_add_resultmapid.RoleDao.roleMap2" ))
68
68
})
69
69
// @formatter:on
70
- public List <User > findAll3 ();
70
+ List <User > findAll3 ();
71
71
72
72
// @formatter:off
73
73
@ Select ("select id teacher_id, username teacher_name from user" )
@@ -76,7 +76,7 @@ public interface UserDao {
76
76
@ Result (column = "teacher_name" , property = "username" )
77
77
})
78
78
// @formatter:on
79
- public List <User > justUseResult ();
79
+ List <User > justUseResult ();
80
80
81
81
// @formatter:off
82
82
@ Select ({"select" ,
@@ -93,5 +93,5 @@ public interface UserDao {
93
93
@ Result (property = "teachers" , many = @ Many (resultMap = "userMap" ))
94
94
})
95
95
// @formatter:on
96
- public User findHeadmaster ();
96
+ User findHeadmaster ();
97
97
}
Original file line number Diff line number Diff line change 17
17
18
18
public interface NestedCollectionMapper {
19
19
20
- public Blog selectBlogWithPosts (int blogId );
20
+ Blog selectBlogWithPosts (int blogId );
21
21
22
22
}
Original file line number Diff line number Diff line change 17
17
18
18
public interface SeparateCollectionMapper {
19
19
20
- public Blog selectBlogWithPosts (int blogId );
20
+ Blog selectBlogWithPosts (int blogId );
21
21
22
22
}
You can’t perform that action at this time.
0 commit comments