package com.hzs.system.base.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hzs.common.domain.system.base.BdStorehouse;
import com.hzs.system.base.vo.BdStorehouseVO;

import java.util.List;

/**
 * <p>
 *  仓库信息Mapper 接口
 * </p>
 *
 * @author hzs
 * @since 2022-08-02
 */
public interface BdStorehouseMapper extends BaseMapper<BdStorehouse> {

    /**
     * 查询仓库列表信息
     * @param bdStorehouse
     * @return
     */
    List<BdStorehouseVO> selectBdStorehouseList(BdStorehouseVO bdStorehouse);

    /**
     * 获取单条仓库信息
     * @param bdStorehouse
     * @return
     */
    BdStorehouse getBdStorehouse(BdStorehouse bdStorehouse);

    /**
     * 校验仓库信息是否重复
     * @param bdStorehouse
     * @return
     */
    BdStorehouse checkBdStorehouse(BdStorehouse bdStorehouse);

    /*
     * @description: 根据国家查询对应的仓库
     * @author: sui q
     * @date: 2024/1/18 10:47
     * @param: null null
     **/
    List<BdStorehouse> queryBdStorehouseByCountry(Integer pkCountry);
}
