From 16d6e11e944b8eaac8e52dc9327278784e006670 Mon Sep 17 00:00:00 2001 From: sxq <812980466@qq.com> Date: 星期二, 26 十月 2021 15:12:58 +0800 Subject: [PATCH] 1:升级springboot版本到2.5.6。 2:升级hutool版本到5.7.15。 --- ruoyi-demo/src/main/java/com/ruoyi/demo/controller/TestBatchController.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/ruoyi-demo/src/main/java/com/ruoyi/demo/controller/TestBatchController.java b/ruoyi-demo/src/main/java/com/ruoyi/demo/controller/TestBatchController.java index 2db9961..ef117a1 100644 --- a/ruoyi-demo/src/main/java/com/ruoyi/demo/controller/TestBatchController.java +++ b/ruoyi-demo/src/main/java/com/ruoyi/demo/controller/TestBatchController.java @@ -39,7 +39,7 @@ // @DataSource(DataSourceType.SLAVE) public AjaxResult<Void> add() { List<TestDemo> list = new ArrayList<>(); - for (int i = 0; i < 10; i++) { + for (int i = 0; i < 1000; i++) { list.add(new TestDemo().setOrderNum(-1L).setTestKey("鎵归噺鏂板").setValue("娴嬭瘯鏂板")); } return toAjax(iTestDemoService.saveAll(list) ? 1 : 0); -- Gitblit v1.9.3