From 83dfb5640c1e11634dd6c4fae0d078494f0c0190 Mon Sep 17 00:00:00 2001 From: 13693261870 <252740454@qq.com> Date: 星期一, 05 六月 2023 17:08:48 +0800 Subject: [PATCH] 开发Voc文件异步入库定时程序 --- src/main/java/com/yssh/service/IAsyncService.java | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/yssh/service/IAsyncService.java b/src/main/java/com/yssh/service/IAsyncService.java index 962b2af..8184d9e 100644 --- a/src/main/java/com/yssh/service/IAsyncService.java +++ b/src/main/java/com/yssh/service/IAsyncService.java @@ -5,11 +5,10 @@ import com.yssh.dao.BaseMapper; - public interface IAsyncService { - final Integer BATCH_INSERT_NUMBER = 1000; + final Integer BATCH_INSERT_500 = 500; + <T> void executeAsync(String tableName, List<T> lists, BaseMapper mapper, CountDownLatch countDownLatch); - } -- Gitblit v1.9.3