Skip to content

Commit

Permalink
Merge pull request baomidou#313 from Copy-Hao/patch-2
Browse files Browse the repository at this point in the history
Update 03.CRUD接口.md
  • Loading branch information
qmdx authored Apr 27, 2023
2 parents 44725c8 + efe079d commit 31a0db1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/01.指南/02.核心功能/03.CRUD接口.md
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,7 @@ int updateById(@Param(Constants.ENTITY) T entity);
```
::: tip 使用提示:
在调用`updateById`方法前,需要在`T entity`(对应的实体类)中的主键属性上加上`@TableId`注解。
:::

#### 参数说明

Expand Down

0 comments on commit 31a0db1

Please sign in to comment.