Commit 935aff4a by shuhu.hou@freemud.cn

创建订单添加第三方品类id

parent 1b59e95d
...@@ -2391,6 +2391,9 @@ public class OrderSdkAdapter { ...@@ -2391,6 +2391,9 @@ public class OrderSdkAdapter {
if (StringUtils.isNotBlank(product.getThirdProductPropertyId())) { if (StringUtils.isNotBlank(product.getThirdProductPropertyId())) {
extInfo.setThirdProductPropertyId(product.getThirdProductPropertyId()); extInfo.setThirdProductPropertyId(product.getThirdProductPropertyId());
} }
if (StringUtils.isNotBlank(product.getThirdCategoryId())){
extInfo.setThirdCategoryId(product.getThirdCategoryId());
}
orderItemCreateReq.setExtInfo(JSONObject.toJSONString(extInfo)); orderItemCreateReq.setExtInfo(JSONObject.toJSONString(extInfo));
orderItemList.add(orderItemCreateReq); orderItemList.add(orderItemCreateReq);
if (product.getTotalDiscountAmount() != null && product.getTotalDiscountAmount() > 0L) { if (product.getTotalDiscountAmount() != null && product.getTotalDiscountAmount() > 0L) {
......
...@@ -38,4 +38,9 @@ public class OrderProductAddInfoDto extends BaseConfig { ...@@ -38,4 +38,9 @@ public class OrderProductAddInfoDto extends BaseConfig {
*/ */
private String thirdProductPropertyId; private String thirdProductPropertyId;
/**
* 第三方品类id
*/
private String thirdCategoryId;
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment