解决出库签收,当前用户空引用bug
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user