package com.gxwebsoft.apps.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gxwebsoft.common.core.web.PageResult;
import com.gxwebsoft.apps.entity.EquipmentOrder;
import com.gxwebsoft.apps.param.EquipmentOrderParam;

import java.util.List;

/**
 * 订单记录表Service
 *
 * @author 科技小王子
 * @since 2023-04-14 21:24:31
 */
public interface EquipmentOrderService extends IService<EquipmentOrder> {

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

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

    /**
     * 根据id查询
     *
     * @param orderId 订单ID
     * @return EquipmentOrder
     */
    EquipmentOrder getByIdRel(Integer orderId);

}
