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

Loading…
Cancel
Save