package com.ruoyi.buyerapi.mapper;

import java.util.List;
import com.ruoyi.buyerapi.domain.BuyerOutsourcing;

/**
 * 委外研发记录Mapper接口
 * 
 * @author ruoyi
 * @date 2022-09-22
 */
public interface BuyerOutsourcingMapper 
{
    /**
     * 查询委外研发记录
     * 
     * @param id 委外研发记录主键
     * @return 委外研发记录
     */
    public BuyerOutsourcing selectBuyerOutsourcingById(String id);

    /**
     * 查询委外研发记录列表
     * 
     * @param buyerOutsourcing 委外研发记录
     * @return 委外研发记录集合
     */
    public List<BuyerOutsourcing> selectBuyerOutsourcingList(BuyerOutsourcing buyerOutsourcing);

    /**
     * 统计委外研发记录列表
     *
     * @param buyerOutsourcing 委外研发记录
     * @return 委外研发记录集合
     */
    public List<BuyerOutsourcing> selectStatistBuyerOutsourcingList(BuyerOutsourcing buyerOutsourcing);

    /**
     * 新增委外研发记录
     * 
     * @param buyerOutsourcing 委外研发记录
     * @return 结果
     */
    public int insertBuyerOutsourcing(BuyerOutsourcing buyerOutsourcing);

    /**
     * 修改委外研发记录
     * 
     * @param buyerOutsourcing 委外研发记录
     * @return 结果
     */
    public int updateBuyerOutsourcing(BuyerOutsourcing buyerOutsourcing);

    /**
     * 删除委外研发记录
     * 
     * @param id 委外研发记录主键
     * @return 结果
     */
    public int deleteBuyerOutsourcingById(String id);

    /**
     * 批量删除委外研发记录
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteBuyerOutsourcingByIds(String[] ids);
}
