From d17870261ffb21ca18c7d1a9c7e65813fcab408d Mon Sep 17 00:00:00 2001 From: daixiaogang <2510234660@qq.com> Date: Tue, 12 Sep 2023 21:03:44 +0800 Subject: [PATCH] buildSpec --- .../com/ms/api/task/ProcessProductPublishTaskService.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/ms-biz/src/main/java/com/ms/api/task/ProcessProductPublishTaskService.java b/ms-biz/src/main/java/com/ms/api/task/ProcessProductPublishTaskService.java index a7202aed..d1647830 100644 --- a/ms-biz/src/main/java/com/ms/api/task/ProcessProductPublishTaskService.java +++ b/ms-biz/src/main/java/com/ms/api/task/ProcessProductPublishTaskService.java @@ -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; }