package cn.pluss.platform.device;

import cn.pluss.platform.entity.MercShopTrolley;
import cn.pluss.platform.vo.DeviceGoodsVO;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 购物车表 服务类
 * </p>
 *
 * @author Djh
 * @since 2022-03-16
 */
public interface MercShopTrolleyService extends IService<MercShopTrolley> {

    void apiAdd(MercShopTrolley entity);

    void add(MercShopTrolley entity);

    void apiUpdate(MercShopTrolley entity);

    void update(MercShopTrolley entity);

    List<MercShopTrolley> listByUserId(Long userId);

    List<MercShopTrolley> apiList();

    List<DeviceGoodsVO> shopTrolleyListByUserId(Long userId);

    List<DeviceGoodsVO> apiShopTrolleyList();
}
