From edbde96487afbb300e08d5863cdc57631dc8c137 Mon Sep 17 00:00:00 2001 From: 沉浸独 <953969331@qq.com> Date: 星期五, 26 八月 2022 14:46:08 +0800 Subject: [PATCH] sa-token-jwt中hutool是5.7.14,会影响到项目中的5.8.5的使用;使用Ipv4Util时,用的是5.7.14 --- ruoyi-demo/src/main/java/com/ruoyi/demo/controller/TestBatchController.java | 5 ++--- 1 files changed, 2 insertions(+), 3 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 e821eaa..caed975 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 @@ -5,7 +5,6 @@ import com.ruoyi.common.core.domain.R; import com.ruoyi.demo.domain.TestDemo; import com.ruoyi.demo.mapper.TestDemoMapper; -import io.swagger.v3.oas.annotations.tags.Tag; import lombok.RequiredArgsConstructor; import org.springframework.web.bind.annotation.DeleteMapping; import org.springframework.web.bind.annotation.PostMapping; @@ -21,7 +20,6 @@ * @author Lion Li * @date 2021-05-30 */ -@Tag(name ="娴嬭瘯鎵归噺鏂规硶", description = "娴嬭瘯鎵归噺鏂规硶") @RequiredArgsConstructor @RestController @RequestMapping("/demo/batch") @@ -65,7 +63,8 @@ testDemo.setOrderNum(-1); testDemo.setTestKey("鎵归噺鏂板"); testDemo.setValue("娴嬭瘯鏂板"); - list.add(testDemo); } + list.add(testDemo); + } testDemoMapper.insertBatch(list); for (int i = 0; i < list.size(); i++) { TestDemo testDemo = list.get(i); -- Gitblit v1.9.3