Commit 524829f2 by ping.wu

Merge branches 'feature/20210831_购物车新算价校验加购数量限制_wuping' and 'qa' of…

Merge branches 'feature/20210831_购物车新算价校验加购数量限制_wuping' and 'qa' of http://gitlab.freemud.com/order-group-application/order-group into qa
parents 5f4ab1b9 c5b93adb
......@@ -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