package com.gxwebsoft.tower.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.gxwebsoft.tower.entity.TowerWarehouse;
import com.gxwebsoft.tower.param.TowerWarehouseParam;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 仓库管理Mapper
 *
 * @author 科技小王子
 * @since 2023-05-20 15:06:43
 */
public interface TowerWarehouseMapper extends BaseMapper<TowerWarehouse> {

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

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

}
