From dd219ad295b3cb0f61c161d1fc5a36fba364fcbb Mon Sep 17 00:00:00 2001
From: 疯狂的狮子Li <15040126243@163.com>
Date: 星期三, 03 四月 2024 11:13:59 +0800
Subject: [PATCH] !508 update 优化工作流ActTaskMapper.xml结果集定义 Merge pull request !508 from 秋辞未寒/dev_mpxml

---
 ruoyi-common/ruoyi-common-job/src/main/java/org/dromara/common/job/config/PowerJobConfig.java |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/ruoyi-common/ruoyi-common-job/src/main/java/org/dromara/common/job/config/PowerJobConfig.java b/ruoyi-common/ruoyi-common-job/src/main/java/org/dromara/common/job/config/PowerJobConfig.java
index 67208c0..9835c7f 100644
--- a/ruoyi-common/ruoyi-common-job/src/main/java/org/dromara/common/job/config/PowerJobConfig.java
+++ b/ruoyi-common/ruoyi-common-job/src/main/java/org/dromara/common/job/config/PowerJobConfig.java
@@ -1,8 +1,8 @@
 package org.dromara.common.job.config;
 
+import org.springframework.boot.autoconfigure.AutoConfiguration;
 import org.springframework.boot.autoconfigure.condition.ConditionalOnBean;
 import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
-import org.springframework.context.annotation.Configuration;
 import org.springframework.scheduling.annotation.EnableScheduling;
 import tech.powerjob.worker.PowerJobWorker;
 
@@ -11,7 +11,7 @@
  * @author yhan219
  * @since 2023/6/2
  */
-@Configuration
+@AutoConfiguration
 @ConditionalOnBean(PowerJobWorker.class)
 @ConditionalOnProperty(prefix = "powerjob.worker", name = "enabled", havingValue = "true")
 @EnableScheduling

--
Gitblit v1.9.3