package com.hzs.sale.shopping.service;

import com.hzs.sale.shopping.vo.ShoppingCartRedis;
import com.hzs.sale.shopping.vo.ShoppingCartVO;

import java.util.List;
import java.util.Map;

public interface IShoppingCartService {

    /*
     * @description: 查询需要下单的购物车
     * @author: sui q
     * @date: 2023/5/23 16:08
     * @param: null null
     **/
    List<ShoppingCartRedis> queryShopping(Long userId, ShoppingCartVO sop);

    /**
     * 批量删除购物车
     *
     * @param userId
     * @param sop
     */
    void batchDelShopping(Long userId, ShoppingCartVO sop);

    /**
     * @description: 查询购物车
     * @author: zhang jing
     * @date: 2022/12/13 16:40
     * @param: [shoppingCartOld]
     * @return: com.hz.web.controller.api.vo.ShoppingCartVO
     **/
    List<ShoppingCartVO> getShopping(Map<String, String> innerShopMap, Integer specialArea, Integer pkCountry);

}
