Commit c5b93adb by ping.wu

会员价商品行总价问题修改

parent 1b2426ec
......@@ -83,7 +83,7 @@ public class MemberDiscountServiceImpl implements IPromotionService {
if (!CollectionUtils.isEmpty(goods.getDiscounts())) {
for (ActivityCalculationDiscountResponseDto.CalculationDiscountResult.Goods.GoodsDiscount goodsDiscount : goods.getDiscounts()) {
if (ActivityTypeEnum.TYPE_27.getCode().equals(goodsDiscount.getType())) {
result.putIfAbsent(goods.getCartGoodsUid(), goodsDiscount.getDiscount() * goodsDiscount.getActualGoodsNumber());
result.putIfAbsent(goods.getCartGoodsUid(), goodsDiscount.getDiscount());
}
}
}
......
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