更新数据支持忽略乐观锁,适用于不需要锁的场景

This commit is contained in:
iqudoo
2026-07-03 11:33:40 +08:00
parent 813796d312
commit 30b8498ef3
3 changed files with 75 additions and 1 deletions

View File

@@ -58,6 +58,7 @@
| `insert(Model)``Model` | 插入并返回带 GUID 的记录 |
| `batchInsert(List<Model>)``List<Model>` | 批量插入并返回记录列表 |
| `update(Model)``int` | 按主键更新(支持乐观锁) |
| `updateIgnoreLock(Model)``int` | 按主键更新(忽略乐观锁) |
| `updateByExampleSelective(Model, Example)``int` | 按条件选择性更新 |
### TapeViewRepositoryGeneratorPlugin