|
|
@ -1054,12 +1054,21 @@ namespace BBWY.Server.Business |
|
|
|
{ |
|
|
|
deletePurchaseOrder.ExecuteAffrows(); |
|
|
|
deleteOrderCostDetail.ExecuteAffrows(); |
|
|
|
foreach (var updateOrderSku in updateOrderSkuList) |
|
|
|
updateOrderSku.ExecuteAffrows(); |
|
|
|
foreach (var update in updateOrderSkuList) |
|
|
|
update.ExecuteAffrows(); |
|
|
|
fsql.Insert(insertPurchaseOrderList).ExecuteAffrows(); |
|
|
|
fsql.Insert(insertOrderCostDetailList).ExecuteAffrows(); |
|
|
|
insertOrderCost?.ExecuteAffrows(); |
|
|
|
updateOrderCost?.ExecuteAffrows(); |
|
|
|
if (insertOrderDropShippingList.Count() > 0) |
|
|
|
fsql.Insert(insertOrderDropShippingList).ExecuteAffrows(); |
|
|
|
if (updateOrderDropShippingList.Count() > 0) |
|
|
|
{ |
|
|
|
foreach (var update in updateOrderDropShippingList) |
|
|
|
{ |
|
|
|
fsql.Update<OrderDropShipping>().SetSource(update).IgnoreColumns(new string[] { "CreateTime", "ShopId" }); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
if (dbOrder.StorageType != Enums.StorageType.代发) |
|
|
|
{ |
|
|
|