Commit cd0156e0e26781b7d2b62bf7421c91c9e4b9f449
1 parent
acda3c95
fix: 修正多租户 Job 自动配置条件
Showing
1 changed file
with
1 additions
and
1 deletions
yudao-framework/yudao-spring-boot-starter-biz-tenant/src/main/java/cn/iocoder/yudao/framework/tenant/config/YudaoTenantAutoConfiguration.java
| @@ -213,7 +213,7 @@ public class YudaoTenantAutoConfiguration { | @@ -213,7 +213,7 @@ public class YudaoTenantAutoConfiguration { | ||
| 213 | // ========== Job ========== | 213 | // ========== Job ========== |
| 214 | 214 | ||
| 215 | @Configuration(proxyBeanMethods = false) | 215 | @Configuration(proxyBeanMethods = false) |
| 216 | - @ConditionalOnClass(name = "com.xxl.job.core.context.XxlJobContext") | 216 | + @ConditionalOnClass(name = "cn.iocoder.yudao.framework.quartz.core.handler.JobHandler") |
| 217 | public static class TenantJobConfiguration { | 217 | public static class TenantJobConfiguration { |
| 218 | 218 | ||
| 219 | @Bean | 219 | @Bean |