Commit ac7c35ca authored by 吴春's avatar 吴春

1

parent e7025bf5
...@@ -3683,6 +3683,7 @@ namespace REBORN.Module.SellModule ...@@ -3683,6 +3683,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.CurrencyId = 1;
item.CurrentRate = 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;
} }
...@@ -3785,6 +3786,7 @@ namespace REBORN.Module.SellModule ...@@ -3785,6 +3786,7 @@ namespace REBORN.Module.SellModule
item.OrderId = orderId; item.OrderId = orderId;
item.CurrencyId = 1; item.CurrencyId = 1;
item.TicketId = product.Id; item.TicketId = product.Id;
item.CurrentRate = 1;
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