diff --git a/src/main/java/com/peanut/modules/common/service/impl/CouponServiceImpl.java b/src/main/java/com/peanut/modules/common/service/impl/CouponServiceImpl.java index 1a2494a0..112dbd5d 100644 --- a/src/main/java/com/peanut/modules/common/service/impl/CouponServiceImpl.java +++ b/src/main/java/com/peanut/modules/common/service/impl/CouponServiceImpl.java @@ -246,9 +246,9 @@ public class CouponServiceImpl extends ServiceImpl impl wrapper.select(BuyOrderProduct::getQuantity); List> buyOrderProducts = couponToProductDao.selectJoinMaps(wrapper); for (Map map : buyOrderProducts) { - ShopProduct shopProduct = shopProductDao.selectById(map.get("productId").toString()); + ShopProduct shopProduct = shopProductDao.selectById(map.get("product_id").toString()); for (int i=0;i