Commit c6d6fc3a by 周晓航

删除测试属性

Signed-off-by: 周晓航 <xiaohang.zhou@freemud.com>
parent 560c8abb
...@@ -1405,15 +1405,11 @@ public class ShoppingCartConvertAdapter { ...@@ -1405,15 +1405,11 @@ public class ShoppingCartConvertAdapter {
if (isComboxGoods) { if (isComboxGoods) {
productComboType = parentProductBean.getProductComboList().stream().filter(p -> ObjectUtils.equals(comboxGoods.getGoodsId(), p.getProductId())).findFirst().orElse(new ProductComboType()); productComboType = parentProductBean.getProductComboList().stream().filter(p -> ObjectUtils.equals(comboxGoods.getGoodsId(), p.getProductId())).findFirst().orElse(new ProductComboType());
comboxGoods.setLinkedId(productComboType.getLinkedId()); comboxGoods.setLinkedId(productComboType.getLinkedId());
// fisherman 自定义设置 商品linkedId
comboxGoods.setLinkedId("fisherman- 固定"+isComboxGoods);
} else { } else {
Map<String, GroupDetailType> map = new HashMap<>(); Map<String, GroupDetailType> map = new HashMap<>();
parentProductBean.getProductGroupList().stream().map(t -> t.getGroupDetail()).forEach(group -> group.forEach(detailType -> map.put(detailType.getProductId(), detailType))); parentProductBean.getProductGroupList().stream().map(t -> t.getGroupDetail()).forEach(group -> group.forEach(detailType -> map.put(detailType.getProductId(), detailType)));
groupDetailType = map.get(comboxGoods.getGoodsId()); groupDetailType = map.get(comboxGoods.getGoodsId());
comboxGoods.setLinkedId(groupDetailType.getLinkedId()); comboxGoods.setLinkedId(groupDetailType.getLinkedId());
// fisherman 自定义设置 商品linkedId
comboxGoods.setLinkedId("fisherman- 可选"+isComboxGoods);
} }
// 若是固定商品则取商品详情的FinalPrice,若是可选商品则取MarkUpPrice // 若是固定商品则取商品详情的FinalPrice,若是可选商品则取MarkUpPrice
......
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