From dc69a5f7d24f6c90ecbc63f69d44e49fa6dd1201 Mon Sep 17 00:00:00 2001 From: colin Date: Thu, 17 Apr 2025 10:00:24 +0800 Subject: [PATCH] fix(tasks): Fix the quartz configuration prefix --- .../Abp/Quartz/SqlInstaller/AbpQuartzSqlInstallerModule.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aspnet-core/modules/task-management/LINGYUN.Abp.Quartz.SqlInstaller/LINGYUN/Abp/Quartz/SqlInstaller/AbpQuartzSqlInstallerModule.cs b/aspnet-core/modules/task-management/LINGYUN.Abp.Quartz.SqlInstaller/LINGYUN/Abp/Quartz/SqlInstaller/AbpQuartzSqlInstallerModule.cs index a58056d1e..94b718ab0 100644 --- a/aspnet-core/modules/task-management/LINGYUN.Abp.Quartz.SqlInstaller/LINGYUN/Abp/Quartz/SqlInstaller/AbpQuartzSqlInstallerModule.cs +++ b/aspnet-core/modules/task-management/LINGYUN.Abp.Quartz.SqlInstaller/LINGYUN/Abp/Quartz/SqlInstaller/AbpQuartzSqlInstallerModule.cs @@ -38,7 +38,7 @@ public class AbpQuartzSqlInstallerModule : AbpModule { var configuration = context.ServiceProvider.GetRequiredService(); if (configuration.GetValue("Quartz:UsePersistentStore", false) && - !configuration[StdSchedulerFactory.PropertyJobStoreType].IsNullOrWhiteSpace()) + !configuration[$"Quartz:Properties:{StdSchedulerFactory.PropertyJobStoreType}"].IsNullOrWhiteSpace()) { // 初始化 Quartz 数据库 await context.ServiceProvider