补充部分高亮
This commit is contained in:
parent
a4009dea90
commit
bd893ce64a
|
|
@ -181,23 +181,23 @@ Map resultList = new HashMap();
|
||||||
|
|
||||||
-  数据查询命名规则
|
-  数据查询命名规则
|
||||||
|
|
||||||
a)获取单个对象的方法用get作前缀。
|
a)获取单个对象的方法用`get`作前缀。
|
||||||
b)获取多个对象的方法用list作前缀。
|
b)获取多个对象的方法用`list`作前缀。
|
||||||
c)获取统计值的方法用count作前缀。
|
c)获取统计值的方法用`count`作前缀。
|
||||||
d)插入的方法用save作前缀。
|
d)插入的方法用`save`作前缀。
|
||||||
e)删除的方法用remove作前缀。
|
e)删除的方法用`remove`作前缀。
|
||||||
f)修改的方法用modify/update作前缀。
|
f)修改的方法用`modify/update`作前缀。
|
||||||
|
|
||||||
### Dao/Mapper层
|
### Dao/Mapper层
|
||||||
|
|
||||||
-  数据查询命名规则
|
-  数据查询命名规则
|
||||||
|
|
||||||
a)获取单个对象的方法用select作前缀。
|
a)获取单个对象的方法用`select`作前缀。
|
||||||
b)获取多个对象的方法用select作前缀,List作后续,如:selectXxxList。
|
b)获取多个对象的方法用`select`作前缀,`List`作后续,如:`selectXxxList`。
|
||||||
c)获取统计值的方法用count作前缀。
|
c)获取统计值的方法用`count`作前缀。
|
||||||
d)插入的方法用insert作前缀。
|
d)插入的方法用`insert`作前缀。
|
||||||
e)删除的方法用delete作前缀。
|
e)删除的方法用`delete`作前缀。
|
||||||
f)修改的方法用update作前缀。
|
f)修改的方法用`update`作前缀。
|
||||||
|
|
||||||
## 接口管理规范
|
## 接口管理规范
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue