|
|
@ -1294,7 +1294,9 @@ namespace BBWY.Server.Business |
|
|
|
var updateSkuTitleParamList = new List<WareWriteUpdateWareSaleAttrvalueAliasRequestItem>(); |
|
|
|
var imageWriteUpdateRequestList = new List<ImageWriteUpdateRequest>(); |
|
|
|
//var skuIndex = noUsedIndexList.Count() - 1;
|
|
|
|
|
|
|
|
var skuIndex = isStruts ? strutsSaleAttrValueList.Count() - 1 : noUsedIndexList.Count() - 1; |
|
|
|
var noUseIndex = noUsedIndexList.Count() - 1; |
|
|
|
|
|
|
|
for (var i = 0; i < request.GiftTemplateSkuList.Count(); i++) |
|
|
|
{ |
|
|
@ -1329,8 +1331,8 @@ namespace BBWY.Server.Business |
|
|
|
type = "com.jd.pop.ware.ic.api.domain.Prop", |
|
|
|
attrId = attrId, |
|
|
|
attrValueAlias = new List<string>(){ attrValueAlias }, |
|
|
|
index = noUsedIndexList[skuIndex], |
|
|
|
attrValuesSeqNo = new List<int?>(){ noUsedIndexList[skuIndex] } |
|
|
|
index = noUsedIndexList[noUseIndex], |
|
|
|
attrValuesSeqNo = new List<int?>(){ noUsedIndexList[noUseIndex] } |
|
|
|
} |
|
|
|
}, |
|
|
|
saleAttrTemplateId = "POP_MODEL" |
|
|
@ -1351,6 +1353,7 @@ namespace BBWY.Server.Business |
|
|
|
} |
|
|
|
} |
|
|
|
skuIndex--; |
|
|
|
noUseIndex--; |
|
|
|
//takeColorIndex--;
|
|
|
|
skusParamList.Add(p); |
|
|
|
} |
|
|
|