package com.zd.airbottle.mapper;

import java.util.List;
import com.zd.airbottle.domain.QpSupplierCredentials;

/**
 * 供应商证件Mapper接口
 * 
 * @author zd
 * @date 2022-05-10
 */
public interface QpSupplierCredentialsMapper 
{
    /**
     * 查询供应商证件
     * 
     * @param id 供应商证件主键
     * @return 供应商证件
     */
    QpSupplierCredentials selectQpSupplierCredentialsById(Long id);

    /**
     * 查询供应商证件列表
     * 
     * @param qpSupplierCredentials 供应商证件
     * @return 供应商证件集合
     */
    List<QpSupplierCredentials> selectQpSupplierCredentialsList(QpSupplierCredentials qpSupplierCredentials);

    /**
     * 新增供应商证件
     * 
     * @param qpSupplierCredentials 供应商证件
     * @return 结果
     */
    int insertQpSupplierCredentials(QpSupplierCredentials qpSupplierCredentials);

    /**
     * 修改供应商证件
     * 
     * @param qpSupplierCredentials 供应商证件
     * @return 结果
     */
    int updateQpSupplierCredentials(QpSupplierCredentials qpSupplierCredentials);

    /**
     * 删除供应商证件
     * 
     * @param id 供应商证件主键
     * @return 结果
     */
    int deleteQpSupplierCredentialsById(Long id);

    /**
     * 批量删除供应商证件
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    int deleteQpSupplierCredentialsByIds(Long[] ids);

    /**
     * 批量新增供应商证件
     *
     * @param qpSupplierCredentials 新增的数据集合
     * @return 结果
     */
    int batchInsertQpSupplierCredentials(List<QpSupplierCredentials> qpSupplierCredentials);

    /**
     * 根据供应商ID集合批量查询供应商资质
     * @param supplierIds 供应商Id集合
     * @return 结果集
     */
    List<QpSupplierCredentials> selectQpSupplierCredentialsListBySupplierIds(Long[] supplierIds);
}
