|
|
|
@ -29057,19 +29057,17 @@ namespace TradeManageNew
|
|
|
|
|
|
|
|
|
|
db.InsertWithInt32Identity(newDtShopifyUsedSaleOrderItem);
|
|
|
|
|
|
|
|
|
|
//修改ERP二手商品
|
|
|
|
|
var statement = db.DT_OrderUsedSalePlatform.Where(x => x.BarCode == item.ProductCode)
|
|
|
|
|
.Set(x => x.Status, TradeUsedSale.Enums.UsedSalePlatformStatus.PendingPickup);
|
|
|
|
|
|
|
|
|
|
if (item.ShippingMethod == "SP")
|
|
|
|
|
{
|
|
|
|
|
statement = statement.Set(x => x.ShippingMethod, TradeUsedSale.Enums.ShippingMethod.SelfPickup);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (item.ShippingMethod == "DL")
|
|
|
|
|
{
|
|
|
|
|
statement = statement.Set(x => x.ShippingMethod, TradeUsedSale.Enums.ShippingMethod.ExpressDelivery);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
statement.Update();
|
|
|
|
|
|
|
|
|
|
//Shopify客户端
|
|
|
|
|