!474 update docs/zh/base/add-delete-update.md.

Merge pull request !474 from codingdragon/N/A
This commit is contained in:
Michael Yang 2024-07-16 08:16:23 +00:00 committed by Gitee
commit d7b20a7add
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -189,7 +189,7 @@ account.setUserName("Michael");
// 通过 UpdateWrapper 操作 account 数据
UpdateWrapper wrapper = UpdateWrapper.of(account);
wrapper.set(ACCOUNT.AGE, ACCOUNT.AGE.add(1))
wrapper.set(ACCOUNT.AGE, ACCOUNT.AGE.add(1));
accountMapper.update(account);
```
@ -211,7 +211,7 @@ account.setUserName("Michael");
// 通过 UpdateWrapper 操作 account 数据
UpdateWrapper wrapper = UpdateWrapper.of(account);
wrapper.set(ACCOUNT.AGE, select().from(...))
wrapper.set(ACCOUNT.AGE, select().from(...));
accountMapper.update(account);
```