| | |
| | | |
| | | 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.pojo.OrderItemDto; |
| | | import com.matrix.system.shopXcx.api.vo.CouponReceiveInfoVO; |
| | | import com.matrix.system.shopXcx.bean.ShopCoupon; |
| | | |
| | | import java.util.List; |
| | | |
| | |
| | | * 根据购物车选中的产品 |
| | | * @return |
| | | */ |
| | | public List<CouponReceiveInfoVO> getCartVoCouponList(Long shopId,List<ShopShoppingCart> shopShoppingCarts); |
| | | public List<CouponReceiveInfoVO> getCartVoCouponList(Long companyId,List<OrderItemDto> OrderItemDtos); |
| | | |
| | | |
| | | /** |
| | |
| | | * 根据状态获取我的优惠券 |
| | | * |
| | | * |
| | | * @param shopId |
| | | * @param companyId |
| | | * @param status |
| | | * @param pageVo |
| | | * @return |
| | | */ |
| | | AjaxResult getMyCouponInfoByStatus(Long shopId, Integer status, PaginationVO pageVo); |
| | | AjaxResult getMyCouponInfoByStatus(Long companyId, Integer status, PaginationVO pageVo); |
| | | |
| | | /** |
| | | * 根据产品ID获取优惠券列表 |
| | |
| | | * 根据标签获取优惠券列表 |
| | | * |
| | | * @param tag |
| | | * @param shopId |
| | | * @param companyId |
| | | * @return |
| | | */ |
| | | AjaxResult getCouponListByTag(String tag, Long shopId); |
| | | AjaxResult getCouponListByTag(String tag, Long companyId); |
| | | |
| | | /** |
| | | * 根据产品id查询该产品符合的优惠活动 |