Example #1
0
        private void Run(object obj, bool sign)
        {
            SWfsSubjectStatisticsService service = new SWfsSubjectStatisticsService();
            string RunConfig = AppConfig.RunConfig();

            service.GetSubjectDataList(2);
            Console.WriteLine("全部统计数据成功加入缓存");
        }
Example #2
0
 /// <summary>
 /// 清除奥莱活动2个月之前的统计数据
 /// </summary>
 private void ClearSubjectStatisticsData(object obj, bool sign)
 {
     try
     {
         SWfsSubjectStatisticsService comm = new SWfsSubjectStatisticsService();
         comm.ClearDataRun();
         comm = null;
     }
     catch (Exception ex)
     {
     }
 }
Example #3
0
 /// <summary>
 /// 生成奥莱活动统计数据
 /// </summary>
 private void CreateSubjectStatisticsDataThread(object obj, bool sign)
 {
     try
     {
         SWfsSubjectStatisticsService comm = new SWfsSubjectStatisticsService();
         comm.Run();
         comm = null;
     }
     catch (Exception ex)
     {
     }
 }