using OASystem.API.OAMethodLib.QiYeWeChatAPI; using OASystem.Domain.Entities.Groups; using OASystem.Infrastructure.Repositories.Groups; namespace OASystem.API.OAMethodLib.Quartz.Business { /// /// 团组流程节点提示通知 /// public static class GroupProcessNode { private readonly static DelegationInfoRepository _grpDeleRep = AutofacIocManager.Instance.GetService(); private static readonly ProcessOverviewRepository _procOverviewRep = AutofacIocManager.Instance.GetService(); private static readonly IQiYeWeChatApiService _qiYeWeChatApiService = AutofacIocManager.Instance.GetService(); /// /// 企微通知 /// public static async void QiYeWeChatNotifyAsync() { var currDt = DateTime.Now; var groupInfos = await _grpDeleRep._sqlSugar.Queryable() .Where(x => x.IsDel == 0) .ToListAsync(); } /// /// 企微预警通知 /// public static async void QiYeWeChatWarnNotifyAsync() { var currDt = DateTime.Now; var groupInfos = await _grpDeleRep._sqlSugar.Queryable() .Where(x => x.IsDel == 0) .ToListAsync(); } } }