From 789b5b823440d174a198a35fd033ca975cb54f4a Mon Sep 17 00:00:00 2001 From: mitao <2763622819@qq.com> Date: 星期三, 27 三月 2024 19:23:13 +0800 Subject: [PATCH] 部门端基础数据导入、得分计算接口 --- ruoyi-admin/src/main/java/com/ruoyi/RuoYiManageApplication.java | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/RuoYiManageApplication.java b/ruoyi-admin/src/main/java/com/ruoyi/RuoYiManageApplication.java index 68adb8d..22bcc57 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/RuoYiManageApplication.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/RuoYiManageApplication.java @@ -9,6 +9,7 @@ import org.springframework.context.annotation.Bean; import org.springframework.core.env.Environment; import org.springframework.http.client.SimpleClientHttpRequestFactory; +import org.springframework.scheduling.annotation.EnableAsync; import org.springframework.scheduling.annotation.EnableScheduling; import org.springframework.web.client.RestTemplate; @@ -20,6 +21,7 @@ * @author ruoyi */ @Slf4j +@EnableAsync @EnableScheduling//开启定时任务 @SpringBootApplication(exclude = { DataSourceAutoConfiguration.class }) public class RuoYiManageApplication -- Gitblit v1.7.1