Esempio n. 1
0
 private void FinalStep(M_Payment pinfo)
 {
     if (pinfo.Status != (int)M_Payment.PayStatus.NoPay)
     {
         throw new Exception("该支付单已处理过,不可重复执行");
     }
     pinfo        = payBll.PaySuccess(pinfo, 0, "");
     pinfo.Remark = "";
     foreach (string orderNo in pinfo.PaymentNum.Split(",".ToCharArray(), StringSplitOptions.RemoveEmptyEntries))
     {
         M_OrderList orderMod = orderBll.SelModelByOrderNo(orderNo);
         OrderHelper.FinalStep(pinfo, orderMod, null);
     }
     payBll.Update(pinfo);
     Response.Redirect("/User/Order/OrderList");
 }