package com.gxwebsoft.apps.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.gxwebsoft.apps.entity.EquipmentOrderGoods;
import com.gxwebsoft.apps.param.EquipmentOrderGoodsParam;
import org.apache.ibatis.annotations.Param;

import java.util.List;

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

    /**
     * 分页查询
     *
     * @param page  分页对象
     * @param param 查询参数
     * @return List<EquipmentOrderGoods>
     */
    List<EquipmentOrderGoods> selectPageRel(@Param("page") IPage<EquipmentOrderGoods> page,
                             @Param("param") EquipmentOrderGoodsParam param);

    /**
     * 查询全部
     *
     * @param param 查询参数
     * @return List<User>
     */
    List<EquipmentOrderGoods> selectListRel(@Param("param") EquipmentOrderGoodsParam param);

}
