Exemplo n.º 1
0
        /// <summary>
        /// 处理团购
        /// </summary>
        public static void Process()
        {
            GetAutoAuditInfo();

            //获取SO
            List <int> soSysNolist = SODA.GetGroupBuySONotPayInTime(CompanyCode);

            foreach (int soSysNo in soSysNolist)
            {
                Console.WriteLine(string.Format("订单:{0}", soSysNo));
                //SOEntity soEntity = SODA.GetSOEntity(soSysNo, CompanyCode);
                try
                {
                    AbandonSO(soSysNo);
                }
                catch (Exception e)
                {
                    Dealfault(e);
                    continue;
                }
            }
        }