package com.gxwebsoft.tower.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gxwebsoft.common.core.web.PageResult;
import com.gxwebsoft.tower.entity.TowerWarehouse;
import com.gxwebsoft.tower.param.TowerWarehouseParam;

import java.util.List;

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

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

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

    /**
     * 根据id查询
     *
     * @param warehouseId 自增ID
     * @return TowerWarehouse
     */
    TowerWarehouse getByIdRel(Integer warehouseId);

}
