fix 临时调整代码
This commit is contained in:
@@ -29,9 +29,10 @@ public class SyncPersonJob : BaseJob
|
||||
continue;
|
||||
}
|
||||
|
||||
var jobKey = BackgroundJob.Enqueue<IGainfoUpdateService>(x => x.TodoByWerkAsync(werk.Werk));
|
||||
werk.BackgroundJobKey = jobKey;
|
||||
await DbContext.UpdateAsync(werk);
|
||||
//todo
|
||||
// var jobKey = BackgroundJob.Enqueue<IGainfoUpdateService>(x => x.TodoByWerkAsync(werk.Werk));
|
||||
// werk.BackgroundJobKey = jobKey;
|
||||
// await DbContext.UpdateAsync(werk);
|
||||
|
||||
Logger.LogInformation("SAP创建人事范围{werk}后台调度任务", werk.Werk);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user