Commit e5b18bcb by 刘鹏飞

coco的购物车的半价行价格

parent 5baad42a
...@@ -140,10 +140,6 @@ public class CocoShoppingCartRelationServiceImpl implements ShoppingCartRelation ...@@ -140,10 +140,6 @@ public class CocoShoppingCartRelationServiceImpl implements ShoppingCartRelation
product.setFinalPrice(goodsDiscountsMap.get(product.getCartGoodsUid()).getNowPrice()); product.setFinalPrice(goodsDiscountsMap.get(product.getCartGoodsUid()).getNowPrice());
}*/ }*/
if(!ObjectUtils.equals(product.getActivityType(),ActivityTypeEnum.TYPE_63.getCode())){
product.setFinalPrice(goodsDiscountsMap.get(product.getCartGoodsUid()).getNowPrice());
}
// num代表拆出来的半价行数量 // num代表拆出来的半价行数量
// 所以只要不等于0就需要把ActivityType设置为空 // 所以只要不等于0就需要把ActivityType设置为空
// 因为前端用这个判断是否能加减 // 因为前端用这个判断是否能加减
......
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