package com.gxwebsoft.apps.service;

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

import java.util.List;

/**
 * 电池管理记录表Service
 *
 * @author 科技小王子
 * @since 2023-05-11 19:10:13
 */
public interface EquipmentOrderGoodsService extends IService<EquipmentOrderGoods> {

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

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

    /**
     * 根据id查询
     *
     * @param orderGoodsId 商品ID
     * @return EquipmentOrderGoods
     */
    EquipmentOrderGoods getByIdRel(Integer orderGoodsId);

}
