标签:message enum contains lse 订单 extern new ogg ext
#region 上海 ZH
//else if (order.SP.Contains("上海") && order.Area.Contains("移动"))//上海
//{
// try
// {
// string amout = order.Quantity.ToString().PadLeft(10, ‘0‘);
// string mobileNumber = order.ChargeAcount.PadLeft(13, ‘ ‘);
// string orderID = order.OrderID.PadLeft(20, ‘ ‘);
// string zhCode = ZHCharge.Sale(amout, mobileNumber, orderID);
// Console.WriteLine("sale:" + zhCode);
// Console.WriteLine();
// zhCode = MsgHelper.AnalysisData(zhCode);
// if (zhCode == "0000" || zhCode == "3012" || zhCode == "3008" || zhCode == "3009" || zhCode == "3007")
// {
// order.OrderStatus = 500;
// BizOrder.Update(new { order.OrderID, order.OrderStatus, CS = "zjzh", UpdateDate = DateTime.Now });
// }
// else if (zhCode == "1005")
// {
// ZHCharge.Login();
// }
// else if (zhCode == "3001" || zhCode == "9111")
// {
// BizOrder.Refund(String.Format("TK{0}", order.OrderID), order.ExternalCode, order.OrderID, Math.Abs(order.Amount),
// order.UserID, String.Format("ZH失败退款:{0}", order.ExternalCode));
// }
// else
// {
// string errMsg = Utils.GetMessageByCode(zhCode);
// Loger.Logging(String.Format("ZH充值失败失败订单状态,错误详情{0}", errMsg), order.ToXML());
// }
// }
// catch
// {
// Loger.Logging("zjzh充值订单更新为失败", order.ToXML());
// //order.OrderStatus = 500;
// //BizOrder.Update(new { order.OrderID, order.OrderStatus, CS = "zjzh", UpdateDate = DateTime.Now });
// //Loger.Logging(ex);
// }
//}
#endregion
标签:message enum contains lse 订单 extern new ogg ext
原文地址:https://www.cnblogs.com/duwamish/p/9528790.html