From 68cf0297f541f3891d33e173c3d5fee145aab169 Mon Sep 17 00:00:00 2001 From: k94314517 <8417338+k94314517@user.noreply.gitee.com> Date: 星期二, 19 九月 2023 12:21:44 +0800 Subject: [PATCH] 基础字段 --- server/service/src/main/java/com/doumee/service/business/impl/BaseDataServiceImpl.java | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/server/service/src/main/java/com/doumee/service/business/impl/BaseDataServiceImpl.java b/server/service/src/main/java/com/doumee/service/business/impl/BaseDataServiceImpl.java index 45d0dd5..e7d9dc1 100644 --- a/server/service/src/main/java/com/doumee/service/business/impl/BaseDataServiceImpl.java +++ b/server/service/src/main/java/com/doumee/service/business/impl/BaseDataServiceImpl.java @@ -20,6 +20,7 @@ import org.apache.commons.lang3.StringUtils; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Lazy; +import org.springframework.scheduling.annotation.Async; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; import org.springframework.util.CollectionUtils; @@ -313,6 +314,7 @@ public static boolean IS_RUNNING = false; @Override @Transactional + @Async public void dealBaseData() { if(IS_RUNNING){ return; -- Gitblit v1.9.3