package com.bonus.canteen.core.warehouse.service;

import com.bonus.canteen.core.warehouse.domain.WareHouseInfo;

import java.util.List;

/**
 * 仓库Service接口
 * 
 * @author xsheng
 * @date 2025-04-05
 */
public interface WareHouseInfoService {

    /**
     * 查询仓库列表
     * 
     * @param wareHouseInfo 仓库
     * @return 仓库集合
     */
    public List<WareHouseInfo> selectWareHouseInfoList(WareHouseInfo wareHouseInfo);

    /**
     * 新增仓库
     * 
     * @param wareHouseInfo 仓库
     * @return 结果
     */
    public int insertWareHouseInfo(WareHouseInfo wareHouseInfo);

    /**
     * 修改仓库
     * 
     * @param wareHouseInfo 仓库
     * @return 结果
     */
    public int updateWareHouseInfo(WareHouseInfo wareHouseInfo);

    /**
     * 批量删除仓库
     * 
     * @param wareHouseIds 需要删除的仓库主键集合
     * @return 结果
     */
    public int deleteWareHouseInfoByWareHouseIds(Long[] wareHouseIds);

    /**
     * 删除仓库信息
     * 
     * @param wareHouseId 仓库主键
     * @return 结果
     */
    public int deleteWareHouseInfoByWareHouseId(WareHouseInfo WareHouseInfo);
}
