搬家配置上架设置相关修改

20230922-ljl-fixBug
cxxxxxxx详 1 year ago
parent 78c37af352
commit 81d007c277

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

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

Loading…
Cancel
Save