package com.gxwebsoft.apps.service;

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

import java.util.List;

/**
 * 电池管理记录表Service
 *
 * @author 科技小王子
 * @since 2023-02-28 22:40:50
 */
public interface EquipmentGoodsService extends IService<EquipmentGoods> {

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

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

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

}
