Browse Source

上架顺序调整

master
shanji 1 year ago
parent
commit
bf4a23b725
  1. 7
      BBWY.Server.Business/PlatformSDK/JDBusiness.cs

7
BBWY.Server.Business/PlatformSDK/JDBusiness.cs

@ -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);
}

Loading…
Cancel
Save