Beispiel #1
0
        static void SyncOrderData(SearchPromotionByCondition oneTask)
        {
            //判断是否已经同步过,同步过就不再执行
            var waitUsers    = DalPromotionJob.ExistsPromotionTaskUsers(oneTask.PromotionTaskId);
            var historyUsers = DalPromotionJob.ExistsPromotionTaskHistoryUsers(oneTask.PromotionTaskId);

            if (waitUsers || historyUsers)
            {
                return;
            }
            DalPromotionJob.MoveFilterOrderData(oneTask.PromotionTaskId);
        }