|
@ -293,12 +293,13 @@ namespace BBWY.Server.Business |
|
|
SDOrderAmount = 0, |
|
|
SDOrderAmount = 0, |
|
|
PurchaseAmount = purchaseOrderSimpleInfo.TotalAmount |
|
|
PurchaseAmount = purchaseOrderSimpleInfo.TotalAmount |
|
|
}; |
|
|
}; |
|
|
orderCost.PlatformCommissionAmount = dbOrder.OrderSellerPrice * orderCost.PlatformCommissionRatio; |
|
|
//orderCost.PlatformCommissionAmount = dbOrder.OrderSellerPrice * orderCost.PlatformCommissionRatio;
|
|
|
orderCost.Profit = dbOrder.OrderSellerPrice + |
|
|
//orderCost.Profit = dbOrder.OrderSellerPrice +
|
|
|
dbOrder.FreightPrice - |
|
|
// dbOrder.FreightPrice -
|
|
|
orderCost.PurchaseAmount - |
|
|
// orderCost.PurchaseAmount -
|
|
|
orderCost.DeliveryExpressFreight - |
|
|
// orderCost.DeliveryExpressFreight -
|
|
|
orderCost.PlatformCommissionAmount; |
|
|
// orderCost.PlatformCommissionAmount;
|
|
|
|
|
|
orderCost.CalculationOrderProfitAndCost(dbOrder, null); |
|
|
if (!isRepurchase) |
|
|
if (!isRepurchase) |
|
|
{ |
|
|
{ |
|
|
insertOrderCost = fsql.Insert(orderCost); |
|
|
insertOrderCost = fsql.Insert(orderCost); |
|
|