From 81d007c277854628c003272b14904ad6b8988b2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?cxxxxxxx=E8=AF=A6?= <286460656@qq.com> Date: Fri, 15 Sep 2023 16:37:36 +0800 Subject: [PATCH] =?UTF-8?q?=E6=90=AC=E5=AE=B6=E9=85=8D=E7=BD=AE=E4=B8=8A?= =?UTF-8?q?=E6=9E=B6=E8=AE=BE=E7=BD=AE=E7=9B=B8=E5=85=B3=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ms-biz/src/main/java/com/ms/api/biz/MoveService.java | 3 +++ .../com/ms/api/task/ProcessMovePublishToPicTaskService.java | 5 +++++ 2 files changed, 8 insertions(+) diff --git a/ms-biz/src/main/java/com/ms/api/biz/MoveService.java b/ms-biz/src/main/java/com/ms/api/biz/MoveService.java index 13a70f96..28ba8b04 100644 --- a/ms-biz/src/main/java/com/ms/api/biz/MoveService.java +++ b/ms-biz/src/main/java/com/ms/api/biz/MoveService.java @@ -251,6 +251,9 @@ public class MoveService { productDetailBase.put("supply7dayReturn", buildSupply7dayReturn(queueMsg, condition, accessToken)); boolean commit = condition.getMoveOnsaleType() != MoveConst.MOVE_ON_SALE_TYPE_DRAFT; productDetailBase.put("commit", commit); + if (condition.getMoveOnsaleType() == MoveConst.MOVE_ON_SALE_TYPE_ON_SALE || condition.getMoveOnsaleType() == MoveConst.MOVE_ON_SALE_TYPE_FOR_SALE) { + productDetailBase.put("start_sale_type", condition.getMoveOnsaleType()); + } if (condition.getMoveOnsaleType() == MoveConst.MOVE_ON_SALE_TYPE_FOR_SALE) { productDetailBase.put("status", MoveConst.MOVE_ON_SALE_TYPE_FOR_SALE); } diff --git a/ms-biz/src/main/java/com/ms/api/task/ProcessMovePublishToPicTaskService.java b/ms-biz/src/main/java/com/ms/api/task/ProcessMovePublishToPicTaskService.java index 38475412..464b9db8 100644 --- a/ms-biz/src/main/java/com/ms/api/task/ProcessMovePublishToPicTaskService.java +++ b/ms-biz/src/main/java/com/ms/api/task/ProcessMovePublishToPicTaskService.java @@ -1277,6 +1277,11 @@ public class ProcessMovePublishToPicTaskService extends TaskBaseService { param.setPayType(productData.getLongValue("payType")); param.setFreightId(productData.getLongValue("freightTemplateId")); + Long startSaleType = productData.getLong("start_sale_type"); + if (!Objects.isNull(startSaleType)) { + param.setStartSaleType(startSaleType); + } + Long outProductId = productData.getLong("outProductId"); if (!Objects.isNull(outProductId)) { param.setOutProductId(outProductId);