buildSpec

20230922-ljl-fixBug
daixiaogang 1 year ago
parent 20ce752e65
commit d17870261f

@ -781,7 +781,7 @@ public class ProcessProductPublishTaskService extends TaskBaseService {
String skuSpecStr = getSkuSpecStr(queueMsg, deliveryDelayDay);
log.info("skuSpecStr: " + skuSpecStr);
if (skuSpecStr != null) {
if (StrUtil.isNotBlank(skuSpecStr)) {
spec += "^" + skuSpecStr;
specName += "-" + MoveConst.skuSpecName;
}
@ -793,7 +793,7 @@ public class ProcessProductPublishTaskService extends TaskBaseService {
if (!specPics.isEmpty()) {
specPics = specPics.stream().map(CommonTool::updateProductImgDomain).collect(Collectors.toList());
}
StrObjMap skuPresellChildSkuDetail = buildSkuPresellChildSkuDetail(queueMsg, skus, skuList, moveBaseData);
// StrObjMap skuPresellChildSkuDetail = buildSkuPresellChildSkuDetail(queueMsg, skus, skuList, moveBaseData);
// skuPresellChildSkuDetail = sortSkuPresellChildSkuDetail(skuPresellChildSkuDetail);
StrObjMap temp = new StrObjMap();
@ -802,7 +802,7 @@ public class ProcessProductPublishTaskService extends TaskBaseService {
temp.put("specPics", String.join(",", specPics));
temp.put("colorSpecArr", colorSpecArr);
temp.put("sizeSpecArr", sizeSpecArr);
temp.put("skuPresellChildSkuDetail", skuPresellChildSkuDetail);
// temp.put("skuPresellChildSkuDetail", skuPresellChildSkuDetail);
temp.put("ewColorNameAndOldColorNameMap", newColorNameAndOldColorNameMap);
temp.put("newSizeNameAndOldSizeNameMap", newSizeNameAndOldSizeNameMap);
temp.put("publishTips", publishTips);
@ -819,7 +819,6 @@ public class ProcessProductPublishTaskService extends TaskBaseService {
if(isFastMode!=0 && ObjectUtil.isNotNull(queueMsg.getSkuPresellChildSkuDetail())){
// queueMsg.setSkuPresellChildSkuDetail(processSpecialWebSiteSkuKey(queueMsg, skus, queueMsg.getSkuPresellChildSkuDetail()));
// return replaceSkuPresellChildSkuDetailSkuKeyIllegalChars(queueMsg.getSkuPresellChildSkuDetail());
// TODO: 2023/9/12 进度
}
return null;
}

Loading…
Cancel
Save