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