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


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

import java.util.List;

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

    /**
     * 查询仓库列表
     * 
     * @param wareHouseCategory 仓库
     * @return 仓库集合
     */
    public List<WareHouseCategory> selectWareHouseCategoryList(WareHouseCategory wareHouseCategory);

    /**
     * 新增仓库
     * 
     * @param wareHouseCategory 仓库
     * @return 结果
     */
    public int insertWareHouseCategory(WareHouseCategory wareHouseCategory);

    /**
     * 修改仓库
     * 
     * @param wareHouseCategory 仓库
     * @return 结果
     */
    public int updateWareHouseCategory(WareHouseCategory wareHouseCategory);

    /**
     * 删除仓库
     * 
     * @param wareHouseId 仓库主键
     * @return 结果
     */
    public int deleteWareHouseCategoryByWareHouseCategoryId(WareHouseCategory WareHouseCategory);

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