| package com.matrix.system.shopXcx.api.service; | 
|   | 
| import com.matrix.core.pojo.AjaxResult; | 
| import com.matrix.core.pojo.PaginationVO; | 
| import com.matrix.system.shopXcx.bean.ShopCoupon; | 
| import com.matrix.system.shopXcx.bean.ShopShoppingCart; | 
| import com.matrix.system.shopXcx.api.vo.CouponReceiveInfoVO; | 
|   | 
| import java.util.List; | 
|   | 
| /** | 
|  * @author jyy | 
|  */ | 
| public interface WxShopCouponService { | 
|   | 
|   | 
|     /** | 
|      * 根据购物车选中的产品 | 
|      * @return | 
|      */ | 
|     public List<CouponReceiveInfoVO> getCartVoCouponList(Long companyId,List<ShopShoppingCart> shopShoppingCarts); | 
|   | 
|   | 
|     /** | 
|      * 获取可用的优惠券 | 
|      *  | 
|      * @param pageVo | 
|      * @return | 
|      */ | 
|     AjaxResult getUsableCoupon(PaginationVO pageVo); | 
|   | 
|   | 
|     /** | 
|      * 领取优惠券 | 
|      *  | 
|      * @param couponId 优惠券ID | 
|      * @return | 
|      */ | 
|     AjaxResult receiveCoupon(Integer couponId); | 
|   | 
|     /** | 
|      * 根据状态获取我的优惠券 | 
|      *  | 
|      * | 
|      * @param companyId | 
|      * @param status | 
|      * @param pageVo | 
|      * @return | 
|      */ | 
|     AjaxResult getMyCouponInfoByStatus(Long companyId, Integer status, PaginationVO pageVo); | 
|   | 
|     /** | 
|      * 根据产品ID获取优惠券列表 | 
|      *  | 
|      * @param productId | 
|      * @return | 
|      */ | 
|     List<ShopCoupon> getCouponListByProductId(Integer productId); | 
|   | 
|   | 
|     /** | 
|      * 根据标签获取优惠券列表 | 
|      * | 
|      * @param tag | 
|      * @param companyId | 
|      * @return | 
|      */ | 
|     AjaxResult getCouponListByTag(String tag, Long companyId); | 
|   | 
|     /** | 
|      * 根据产品id查询该产品符合的优惠活动 | 
|      *  | 
|      * @param productId | 
|      * @return | 
|      */ | 
|     List<ShopCoupon> getHdListByProductId(Integer productId); | 
|   | 
| } |