package com.zd.airbottle.service;

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

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

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

    /**
     * 根据供应商ID查询供应商证件列表
     *
     * @param supplierIds 供应商ID集合
     * @return 供应商证件集合
     */
    List<QpSupplierCredentials> selectQpSupplierCredentialsListBySupplierIds(Long[] supplierIds);

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

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

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

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

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