package com.cpxt.biz.service;

import java.util.List;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.cpxt.biz.domain.BizCustomerWarehouse;

/**
 * 仓库Service接口
 * 
 * @author YIN
 * @date 2024-12-16
 */
public interface IBizCustomerWarehouseService 
{
    /**
     * 查询仓库
     * 
     * @param id 仓库主键
     * @return 仓库
     */
    public BizCustomerWarehouse selectBizCustomerWarehouseById(Long id);

    /**
     * 查询仓库列表
     * 
     * @param bizCustomerWarehouse 仓库
     * @return 仓库集合
     */
    public List<BizCustomerWarehouse> selectBizCustomerWarehouseList(BizCustomerWarehouse bizCustomerWarehouse);

    /**
     * 新增仓库
     * 
     * @param bizCustomerWarehouse 仓库
     * @return 结果
     */
    public int insertBizCustomerWarehouse(BizCustomerWarehouse bizCustomerWarehouse);

    /**
     * 修改仓库
     * 
     * @param bizCustomerWarehouse 仓库
     * @return 结果
     */
    public int updateBizCustomerWarehouse(BizCustomerWarehouse bizCustomerWarehouse);

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

    /**
     * 删除仓库信息
     * 
     * @param id 仓库主键
     * @return 结果
     */
    public int deleteBizCustomerWarehouseById(Long id);

    Page<BizCustomerWarehouse> selectBizCustomerWarehousePage(BizCustomerWarehouse bizCustomerWarehouse, int pageNum, int pageSize);
}
