Commit e7025bf5 authored by 吴春's avatar 吴春

1

parent d1835f31
...@@ -3682,6 +3682,7 @@ namespace REBORN.Module.SellModule ...@@ -3682,6 +3682,7 @@ namespace REBORN.Module.SellModule
{ {
item.OrderId = demodel.OrderId; item.OrderId = demodel.OrderId;
item.TicketId = product.Id; item.TicketId = product.Id;
item.CurrencyId = 1;
item.Unit_Price = Math.Round(item.Money / (item?.Num ?? 1), 2); item.Unit_Price = Math.Round(item.Money / (item?.Num ?? 1), 2);
bool flag1 = customer_TicketOrderDetailRepository.Insert(item) > 0; bool flag1 = customer_TicketOrderDetailRepository.Insert(item) > 0;
} }
...@@ -3782,6 +3783,7 @@ namespace REBORN.Module.SellModule ...@@ -3782,6 +3783,7 @@ namespace REBORN.Module.SellModule
foreach (var item in demodel.DetailList) foreach (var item in demodel.DetailList)
{ {
item.OrderId = orderId; item.OrderId = orderId;
item.CurrencyId = 1;
item.TicketId = product.Id; item.TicketId = product.Id;
item.Unit_Price = Math.Round(item.Money / (item?.Num ?? 1), 2); item.Unit_Price = Math.Round(item.Money / (item?.Num ?? 1), 2);
bool flagD = customer_TicketOrderDetailRepository.Insert(item) > 0; bool flagD = customer_TicketOrderDetailRepository.Insert(item) > 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment