Commit fa1e1e92 by yu.sun

sunyu::update::fix bug about NPE

parent 2d353782
...@@ -435,7 +435,7 @@ public class ShoppingCartMCoffeeServiceImpl { ...@@ -435,7 +435,7 @@ public class ShoppingCartMCoffeeServiceImpl {
cartGoodsList, coupons, new ArrayList<>(), shoppingCartGoodsResponseVo,null); cartGoodsList, coupons, new ArrayList<>(), shoppingCartGoodsResponseVo,null);
// 促销算价若未返回优惠信息有可能会变更购物车数据,重新存储最新购物车,并进行新一次的算价 // 促销算价若未返回优惠信息有可能会变更购物车数据,重新存储最新购物车,并进行新一次的算价
if (shoppingCartGoodsResponseVo.getChanged()) { if (null != shoppingCartGoodsResponseVo.getChanged() &&shoppingCartGoodsResponseVo.getChanged()) {
assortmentSdkService.setShoppingCart(partnerId, storeId, userId, cartGoodsList, sessionId, "", shoppingCartBaseService); assortmentSdkService.setShoppingCart(partnerId, storeId, userId, cartGoodsList, sessionId, "", shoppingCartBaseService);
// 促销活动的优惠金额计算 // 促销活动的优惠金额计算
calculationService.updateShoppingCartGoodsDiscount(partnerId, storeId, userId, appId, orderType, assortmentCustomerInfoVo.isMemberPaid(), menuType, receiveId, couponCode, calculationService.updateShoppingCartGoodsDiscount(partnerId, storeId, userId, appId, orderType, assortmentCustomerInfoVo.isMemberPaid(), menuType, receiveId, couponCode,
......
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