using Business.KJH; using Business.Util; using Cache; using Common; using Quartz; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace JobService.Job { [DisallowConcurrentExecution] [PersistJobDataAfterExecution] class C11x5Job : IJob { public void Execute(IJobExecutionContext context) { try { var typelist = LottryDataHandle.GetLotteryCode(); var Runlist = typelist.Where(w => w.lotteryCode.Contains("11x5")).ToList(); jobServiceBLL bll = new Business.KJH.jobServiceBLL(); var list = bll.GetLotteryListAsync(Runlist); AppCtrl.GetObj().GetLotteryCache().SetLotteryCache(list); } catch (Exception ee) { LogHelper.Error(typeof(QGCJob), ee.Message + ":QTJob"); } } } }