package com.gxwebsoft.shop.service;

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

import java.util.List;

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

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

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

    /**
     * 根据id查询
     *
     * @param deliveryId 发货单ID
     * @return OrderDelivery
     */
    OrderDelivery getByIdRel(Integer deliveryId);

}
