|
@ -319,19 +319,22 @@ namespace BBWY.Server.Business |
|
|
|
|
|
|
|
|
if (purchasePlatform == Enums.Platform.拳探) |
|
|
if (purchasePlatform == Enums.Platform.拳探) |
|
|
{ |
|
|
{ |
|
|
var skuPackConfig = request.PackSkuConfigList.FirstOrDefault(s => s.SkuId == firstProductParam.BelongSkuId); |
|
|
var skuPackConfig = request.PackSkuConfigList?.FirstOrDefault(s => s.SkuId == firstProductParam.BelongSkuId); |
|
|
skuPackConfigList.Add(new |
|
|
if (skuPackConfig != null) |
|
|
{ |
|
|
{ |
|
|
skuId = firstProductParam.BelongSkuId, |
|
|
skuPackConfigList.Add(new |
|
|
skuCount = skuPackConfig.PurchaseCount, |
|
|
|
|
|
markMessage = string.Empty, |
|
|
|
|
|
wareHourses = skuPackConfig.PackSkuSplitConfigList.Select(x => new |
|
|
|
|
|
{ |
|
|
{ |
|
|
wareId = x.Store.Id, |
|
|
skuId = firstProductParam.BelongSkuId, |
|
|
wareName = x.Store.Name, |
|
|
skuCount = skuPackConfig.PurchaseCount, |
|
|
count = x.PackCount |
|
|
markMessage = string.Empty, |
|
|
}) |
|
|
wareHourses = skuPackConfig.PackSkuSplitConfigList.Select(x => new |
|
|
}); |
|
|
{ |
|
|
|
|
|
wareId = x.Store.Id, |
|
|
|
|
|
wareName = x.Store.Name, |
|
|
|
|
|
count = x.PackCount |
|
|
|
|
|
}) |
|
|
|
|
|
}); |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|