package com.gxwebsoft.shop.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gxwebsoft.common.core.web.PageResult;
import com.gxwebsoft.shop.entity.ShopStoreWarehouse;
import com.gxwebsoft.shop.param.ShopStoreWarehouseParam;

import java.util.List;

/**
 * 仓库Service
 *
 * @author 科技小王子
 * @since 2026-02-07 18:10:25
 */
public interface ShopStoreWarehouseService extends IService<ShopStoreWarehouse> {

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

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

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

}
