package com.gxwebsoft.apps.mapper;

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

import java.util.List;

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

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

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

}
