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 24470a21..2f3dbc95 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 @@ -1,5 +1,6 @@ package com.ms.api.biz; +import com.alibaba.fastjson.JSON; import java.util.ArrayList; import java.util.Arrays; import java.util.HashSet; @@ -16,10 +17,13 @@ import com.doudian.open.api.product_getProductUpdateRule.data.NormalRule; import com.doudian.open.api.product_getProductUpdateRule.data.ProductGetProductUpdateRuleData; import com.doudian.open.api.product_getProductUpdateRule.param.ProductGetProductUpdateRuleParam; import com.doudian.open.core.AccessToken; +import com.ms.api.bo.AttributeBO; +import com.ms.api.bo.CateAttributeResultBO; import com.ms.api.bo.MoveProductPublishQueueBO; import com.ms.api.bo.MoveShopSettingBO; import com.ms.api.common.ApiResult; import com.ms.api.common.Ret; +import com.ms.api.common.StrObjMap; import com.ms.api.consts.MoveConst; import com.ms.api.tool.CommonTool; import com.ms.api.util.DdRequestUtil; @@ -98,7 +102,6 @@ public class MoveService { //当天发的值为9999 deliveryDelayDay = 9999; } - // TODO 抖店规则匹配 回头处理 ProductGetProductUpdateRuleParam param = new ProductGetProductUpdateRuleParam(); if (productDetailBase.containsKey("categoryLeafId") && productDetailBase.get("categoryLeafId") instanceof Number) { param.setCategoryId(productDetailBase.getLong("categoryLeafId")); diff --git a/ms-biz/src/main/java/com/ms/api/bo/AttributeBO.java b/ms-biz/src/main/java/com/ms/api/bo/AttributeBO.java new file mode 100644 index 00000000..bba4a590 --- /dev/null +++ b/ms-biz/src/main/java/com/ms/api/bo/AttributeBO.java @@ -0,0 +1,19 @@ +package com.ms.api.bo; + +import lombok.Data; + +import java.util.List; + +@Data +public class AttributeBO { + private String propertyName; + private int propertyId; + private int required; + private List