update 重写 InsertAll 方法实现 可完美替代 saveBatch 秒级插入上万数据

This commit is contained in:
疯狂的狮子li
2021-08-25 18:01:52 +08:00
parent 1cd64a1c4e
commit 8ffe111086
4 changed files with 34 additions and 8 deletions

View File

@ -32,7 +32,7 @@ public class TestBatchController extends BaseController {
private final ITestDemoService iTestDemoService;
/**
* 新增批量方法 ( 全量覆盖填充 )
* 新增批量方法 可完美替代 saveBatch 秒级插入上万数据 (对mysql负荷较大)
*/
@ApiOperation(value = "新增批量方法")
@PostMapping()