Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 18e7a61

Browse files
committed
全部接口的说明汇总。
1 parent 4c939d1 commit 18e7a61

File tree

1 file changed

+52
-0
lines changed

1 file changed

+52
-0
lines changed

wiki/Mapper.md

+52
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
#提供的可选的接口
2+
3+
##基础接口
4+
5+
###select
6+
7+
接口:`SelectMapper`
8+
方法:`List<T> select(T record);`
9+
说明:根据实体中的属性值进行查询,查询条件使用等号
10+
11+
接口:`SelectByPrimaryKeyMapper`
12+
方法:`T selectByPrimaryKey(Object key);`
13+
说明:根据主键字段进行查询,方法参数必须包含完整的主键属性,查询条件使用等号
14+
15+
接口:`SelectOneMapper`
16+
方法:`T selectOne(T record);`
17+
说明:根据实体中的属性进行查询,只能有一个返回值,有多个结果是抛出异常,查询条件使用等号
18+
19+
接口:`SelectCountMapper`
20+
方法:`int selectCount(T record);`
21+
说明:根据实体中的属性查询总数,查询条件使用等号
22+
23+
###insert
24+
25+
接口:``
26+
方法:``
27+
说明:
28+
29+
接口:``
30+
方法:``
31+
说明:
32+
33+
###update
34+
35+
接口:``
36+
方法:``
37+
说明:
38+
39+
接口:``
40+
方法:``
41+
说明:
42+
43+
###delete
44+
45+
接口:``
46+
方法:``
47+
说明:
48+
49+
接口:``
50+
方法:``
51+
说明:
52+

0 commit comments

Comments
 (0)