diff --git a/skyeye-shop/shop-store/src/main/java/com/skyeye/store/service/impl/ShopTradeCartServiceImpl.java b/skyeye-shop/shop-store/src/main/java/com/skyeye/store/service/impl/ShopTradeCartServiceImpl.java index f7faebcd..073b1a14 100644 --- a/skyeye-shop/shop-store/src/main/java/com/skyeye/store/service/impl/ShopTradeCartServiceImpl.java +++ b/skyeye-shop/shop-store/src/main/java/com/skyeye/store/service/impl/ShopTradeCartServiceImpl.java @@ -91,7 +91,9 @@ public class ShopTradeCartServiceImpl extends SkyeyeBusinessServiceImpl { String normsId = bean.getNormsId(); String salePrice = collect.get(normsId); - bean.getNormsMation().put("salePrice", salePrice); + if (CollectionUtil.isNotEmpty(bean.getNormsMation())) { + bean.getNormsMation().put("salePrice", salePrice); + } }); }