From 46c081d5e19b44cb2dc4a6d64a5acab0d1e745d2 Mon Sep 17 00:00:00 2001
From: Mr.Zhang <710666463@qq.com>
Date: 星期二, 19 九月 2023 12:22:57 +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