|
|
|
@ -28717,7 +28717,7 @@ namespace TradeManageNew
|
|
|
|
|
var products = db.HW_GoodsInfo.Where(x => productIds.Contains(x.GoodsId)).Select(o => new
|
|
|
|
|
{
|
|
|
|
|
ProductId = o.GoodsId,
|
|
|
|
|
FirstImgUrl = o.FirstImgUrl
|
|
|
|
|
o.FirstImgUrl
|
|
|
|
|
}).ToList();
|
|
|
|
|
|
|
|
|
|
foreach (var pageItem in page)
|
|
|
|
@ -28768,26 +28768,30 @@ namespace TradeManageNew
|
|
|
|
|
{
|
|
|
|
|
var shopifyOrder = shopifyOrders.FirstOrDefault(x =>
|
|
|
|
|
x.Id == shopifyOrderItem.DtShopifyUsedSaleOrderId);
|
|
|
|
|
|
|
|
|
|
resultItem.OrderId = shopifyOrder?.OrderId;
|
|
|
|
|
resultItem.OrderNumber = shopifyOrder?.OrderNumber;
|
|
|
|
|
resultItem.OrderName = shopifyOrder?.OrderName;
|
|
|
|
|
resultItem.CreatedAt = shopifyOrder?.CreatedAt;
|
|
|
|
|
resultItem.UpdatedAt = shopifyOrder?.UpdatedAt;
|
|
|
|
|
resultItem.ProcessedAt = shopifyOrder?.ProcessedAt;
|
|
|
|
|
resultItem.Name = shopifyOrder?.Name;
|
|
|
|
|
resultItem.Phone = shopifyOrder?.Phone;
|
|
|
|
|
resultItem.Full = shopifyOrder?.Full;
|
|
|
|
|
resultItem.Detail = shopifyOrder?.Detail;
|
|
|
|
|
resultItem.Detail2 = shopifyOrder?.Detail2;
|
|
|
|
|
resultItem.City = shopifyOrder?.City;
|
|
|
|
|
resultItem.Province = shopifyOrder?.Province;
|
|
|
|
|
resultItem.ProvinceCode = shopifyOrder?.ProvinceCode;
|
|
|
|
|
resultItem.Zip = shopifyOrder?.Zip;
|
|
|
|
|
resultItem.Country = shopifyOrder?.Country;
|
|
|
|
|
resultItem.CountryCode = shopifyOrder?.CountryCode;
|
|
|
|
|
resultItem.Currency = shopifyOrder?.Currency;
|
|
|
|
|
resultItem.TotalPrice = shopifyOrder?.TotalPrice;
|
|
|
|
|
|
|
|
|
|
var shopifyOrderDto =new ShopifyUsedSaleOrderInfoDto
|
|
|
|
|
{
|
|
|
|
|
OrderId = shopifyOrder?.OrderId,
|
|
|
|
|
OrderNumber = shopifyOrder?.OrderNumber,
|
|
|
|
|
OrderName = shopifyOrder?.OrderName,
|
|
|
|
|
CreatedAt = shopifyOrder?.CreatedAt,
|
|
|
|
|
UpdatedAt = shopifyOrder?.UpdatedAt,
|
|
|
|
|
ProcessedAt = shopifyOrder?.ProcessedAt,
|
|
|
|
|
Name = shopifyOrder?.Name,
|
|
|
|
|
Phone = shopifyOrder?.Phone,
|
|
|
|
|
Full = shopifyOrder?.Full,
|
|
|
|
|
Detail = shopifyOrder?.Detail,
|
|
|
|
|
Detail2 = shopifyOrder?.Detail2,
|
|
|
|
|
City = shopifyOrder?.City,
|
|
|
|
|
Province = shopifyOrder?.Province,
|
|
|
|
|
ProvinceCode = shopifyOrder?.ProvinceCode,
|
|
|
|
|
Zip = shopifyOrder?.Zip,
|
|
|
|
|
Country = shopifyOrder?.Country,
|
|
|
|
|
CountryCode = shopifyOrder?.CountryCode,
|
|
|
|
|
Currency = shopifyOrder?.Currency,
|
|
|
|
|
TotalPrice = shopifyOrder?.TotalPrice,
|
|
|
|
|
};
|
|
|
|
|
resultItem.ShopifyOrder = shopifyOrderDto;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|