| 123456789101112131415161718192021222324252627282930313233343536373839 | 
							- using Business.KJH;
 
- using Business.Util;
 
- using Cache;
 
- using Cache.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]
 
-     public class QTJob : IJob
 
-     {
 
-         public void Execute(IJobExecutionContext context)
 
-         {
 
-             try
 
-             {
 
-                 
 
-                 var typelist = LottryDataHandle.GetLotteryCode();
 
-                 var Runlist = typelist.Where(w => !w.lotteryCode.Contains("11x5") && !w.lotteryCode.Contains("K3") &&!w.lotteryCode.Contains("DF") && !w.lotteryCode.Contains("QG")).ToList();
 
-                 jobServiceBLL bll = new Business.KJH.jobServiceBLL();
 
-                 var list = bll.GetLotteryListAsync(Runlist);
 
-                 LotteryCache.SetLotteryCache(list);
 
-             }
 
-             catch (Exception ee)
 
-             {
 
-                 LogHelper.Error(typeof(QGCJob), ee.Message + ":QTJob");
 
-             }
 
-         }
 
-     }
 
- }
 
 
  |