TaskNewsFeedJob.cs 912 B

1234567891011121314151617181920212223242526
  1. using Microsoft.AspNetCore.SignalR;
  2. using OASystem.API.OAMethodLib.Hubs;
  3. using OASystem.Domain.Entities.PersonnelModule;
  4. using OASystem.Infrastructure.Repositories.PersonnelModule;
  5. using ILogger = Microsoft.Extensions.Logging.ILogger;
  6. namespace OASystem.API.OAMethodLib.Quartz.Business
  7. {
  8. public static class TaskNewsFeedJob
  9. {
  10. private readonly static TaskAllocationRepository _taskAllocationRep = AutofacIocManager.Instance.GetService<TaskAllocationRepository>();
  11. private readonly static ILogger _logger;
  12. private readonly static IHubContext<ServerHub> _hubContext = (IHubContext<ServerHub>)AutofacIocManager.Instance.GetService<ServerHub>();
  13. /// <summary>
  14. /// 定时任务更改状态
  15. /// 每天下午六点定时更新
  16. /// </summary>
  17. public static async void PostTaskMessagePush()
  18. {
  19. }
  20. }
  21. }