diff --git a/mall-portal/src/main/java/com/macro/mall/portal/dao/PortalProductDao.java b/mall-portal/src/main/java/com/macro/mall/portal/dao/PortalProductDao.java index 9a68d3a..ece7ef9 100644 --- a/mall-portal/src/main/java/com/macro/mall/portal/dao/PortalProductDao.java +++ b/mall-portal/src/main/java/com/macro/mall/portal/dao/PortalProductDao.java @@ -12,7 +12,18 @@ import java.util.List; * Created by macro on 2018/8/2. */ public interface PortalProductDao { + /** + * 获取购物车商品信息 + */ CartProduct getCartProduct(@Param("id") Long id); + + /** + * 获取促销商品信息列表 + */ List getPromotionProductList(@Param("ids") List ids); - List getAvailableCouponList(@Param("productId") Long productId,@Param("productCategoryId")Long productCategoryId); + + /** + * 获取可用优惠券列表 + */ + List getAvailableCouponList(@Param("productId") Long productId, @Param("productCategoryId") Long productCategoryId); }