package com.gxwebsoft.shop.service;

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

import java.util.List;

/**
 * 发货单商品Service
 *
 * @author 科技小王子
 * @since 2024-09-24 01:39:23
 */
public interface OrderDeliveryGoodsService extends IService<OrderDeliveryGoods> {

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

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

    /**
     * 根据id查询
     *
     * @param id 主键ID
     * @return OrderDeliveryGoods
     */
    OrderDeliveryGoods getByIdRel(Integer id);

}
