解决出库签收,当前用户空引用bug

This commit is contained in:
alex
2023-09-07 18:17:07 +08:00
parent 94a598d5d6
commit 4582fd8a1c
10 changed files with 182 additions and 57 deletions

View File

@@ -115,8 +115,8 @@ public class Startup : AppStartup
SnowflakeIdHelper.InitYitIdWorker();
//bool isStartTimeJob = App.GetConfig<bool>("IsStartTimeJob");
//if (isStartTimeJob)
// serviceProvider.GetRequiredService<ITimeTaskService>().StartTimerJob();
bool isStartTimeJob = App.GetConfig<bool>("IsStartTimeJob");
if (isStartTimeJob)
serviceProvider.GetRequiredService<ITimeTaskService>().StartTimerJob();
}
}