批量插入

This commit is contained in:
iqudoo
2026-04-12 19:07:12 +08:00
parent abfab32498
commit dc7ccf905f
3 changed files with 9 additions and 180 deletions

View File

@@ -42,6 +42,7 @@
- `countByTrash({Example} example)` - 统计回收站记录数
- `countByTrashWithPage({Example} example)` - 统计分页回收站记录数
- `insert({Model} record)` - 插入记录(自动生成 GUID、设置默认值
- `batchInsert(List<{Model}> records)` - 批量插入记录(自动生成 GUID、设置默认值
- `updateByExampleSelective({Model} record, {Example} example)` - 按条件更新记录
- `update({Model} record)` - 更新记录(支持乐观锁)