|
|
@@ -428,7 +428,7 @@ namespace ShopMobile.apiclass
|
|
428
|
428
|
hd.BuyerDesc = od.OrderMemo;
|
|
429
|
429
|
hd.ReceiveAddress = od.Province + od.City + od.County + od.Address;
|
|
430
|
430
|
hd.ReceiveCellPhone = od.Telephone;
|
|
431
|
|
- hd.ReceivePhone = "1234123";
|
|
|
431
|
+ hd.ReceivePhone = "";
|
|
432
|
432
|
hd.ReceiveName = od.Receiver;
|
|
433
|
433
|
hd.ReceiveZip = string.IsNullOrEmpty(od.PostCode)?"": od.PostCode;
|
|
434
|
434
|
hd.TotalPay = od.PayPrice.Value;
|
|
|
@@ -440,7 +440,7 @@ namespace ShopMobile.apiclass
|
|
440
|
440
|
item it = new item();
|
|
441
|
441
|
it.count = im.Qty.Value;
|
|
442
|
442
|
it.price = im.SumPrice.Value;
|
|
443
|
|
- it.ProductSysNo = im.PID.Value;
|
|
|
443
|
+ it.ProductSysNo = im.SpNo.Value;
|
|
444
|
444
|
|
|
445
|
445
|
hd.products.Add(it);
|
|
446
|
446
|
}
|
|
|
@@ -489,7 +489,7 @@ namespace ShopMobile.apiclass
|
|
489
|
489
|
|
|
490
|
490
|
CommandInfo sql2 = new CommandInfo();
|
|
491
|
491
|
sql2.CommandText = "update PT_User_Account set Points=Points-@Points where MID=@MID;";
|
|
492
|
|
- SqlParameter[] para2 = { new SqlParameter("@PayPrice", SqlDbType.Decimal, 9), new SqlParameter("@MID", SqlDbType.Int, 4) };
|
|
|
492
|
+ SqlParameter[] para2 = { new SqlParameter("@Points", SqlDbType.Decimal, 9), new SqlParameter("@MID", SqlDbType.Int, 4) };
|
|
493
|
493
|
para2[0].Value = od.Points;
|
|
494
|
494
|
para2[1].Value = od.CreateUser;
|
|
495
|
495
|
sql2.Parameters = para2;
|
|
|
@@ -517,7 +517,7 @@ namespace ShopMobile.apiclass
|
|
517
|
517
|
{
|
|
518
|
518
|
DbHelperSQL.ExecuteSqlTranWithIndentity(SQLStringList);
|
|
519
|
519
|
msg.result1 = 1;
|
|
520
|
|
- addordertopt(orderid, ref msg);//向平台创建订单
|
|
|
520
|
+ //addordertopt(orderid, ref msg);//向平台创建订单
|
|
521
|
521
|
}
|
|
522
|
522
|
catch (Exception ex)
|
|
523
|
523
|
{
|
|
|
@@ -560,7 +560,7 @@ namespace ShopMobile.apiclass
|
|
560
|
560
|
item it = new item();
|
|
561
|
561
|
it.count = im.Qty.Value;
|
|
562
|
562
|
it.price = im.SumPrice.Value;
|
|
563
|
|
- it.ProductSysNo = im.PID.Value;
|
|
|
563
|
+ it.ProductSysNo = im.SpNo.Value;
|
|
564
|
564
|
|
|
565
|
565
|
hd.products.Add(it);
|
|
566
|
566
|
}
|