mirror of
https://gitee.com/mybatis-flex/mybatis-flex.git
synced 2025-12-07 00:58:24 +08:00
update docs/zh/base/add-delete-update.md.
少了’;‘ Signed-off-by: codingdragon <5562464+dragon_haoge@user.noreply.gitee.com>
This commit is contained in:
parent
39aa24872f
commit
cd2ba6e897
@ -165,7 +165,7 @@ account.setUserName(null);
|
|||||||
|
|
||||||
// 通过 UpdateWrapper 操作 account 数据
|
// 通过 UpdateWrapper 操作 account 数据
|
||||||
UpdateWrapper wrapper = UpdateWrapper.of(account);
|
UpdateWrapper wrapper = UpdateWrapper.of(account);
|
||||||
wrapper.setRaw("age", "age + 1")
|
wrapper.setRaw("age", "age + 1");
|
||||||
|
|
||||||
accountMapper.update(account);
|
accountMapper.update(account);
|
||||||
```
|
```
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user