package com.hzs.system.base.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hzs.common.domain.system.base.BdProductStorehouse;
import com.hzs.common.domain.system.base.ext.BdProductStorehouseExt;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 产品绑定仓库表 Mapper 接口
 */
public interface BdProductStorehouseMapper extends BaseMapper<BdProductStorehouse> {

    /**
     * 查询省绑定的产品仓库
     */
    List<BdProductStorehouseExt> queryBdProductStorehouseByCondition(@Param("productId") List<Integer> productId, @Param("province") Integer province);

}
