package com.gxwebsoft.shop.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gxwebsoft.common.core.web.PageResult;
import com.gxwebsoft.shop.entity.ShopOrderCartInfo;
import com.gxwebsoft.shop.param.ShopOrderCartInfoParam;

import java.util.List;

/**
 * 订单购物详情表Service
 *
 * @author 科技小王子
 * @since 2024-09-10 21:05:07
 */
public interface ShopOrderCartInfoService extends IService<ShopOrderCartInfo> {

    /**
     * 分页关联查询
     *
     * @param param 查询参数
     * @return PageResult<ShopOrderCartInfo>
     */
    PageResult<ShopOrderCartInfo> pageRel(ShopOrderCartInfoParam param);

    /**
     * 关联查询全部
     *
     * @param param 查询参数
     * @return List<ShopOrderCartInfo>
     */
    List<ShopOrderCartInfo> listRel(ShopOrderCartInfoParam param);

    /**
     * 根据id查询
     *
     * @return ShopOrderCartInfo
     */
    ShopOrderCartInfo getByIdRel(Long id);

}
