package com.bonus.sgzb.material.service;

import com.bonus.sgzb.material.domain.PurchaseCheckDetails;

import java.util.List;

/**
 * 新购验收任务详细purchase_check_detailsService接口
 * 
 * @author bonus
 * @date 2023-12-10
 */
public interface IPurchaseCheckDetailsService 
{
    /**
     * 查询新购验收任务详细purchase_check_details
     * 
     * @param taskId 新购验收任务详细purchase_check_details主键
     * @return 新购验收任务详细purchase_check_details
     */
    public List<PurchaseCheckDetails> selectPurchaseCheckDetailsByTaskId(Long taskId);

    /**
     * 查询新购验收任务详细purchase_check_details列表
     * 
     * @param purchaseCheckDetails 新购验收任务详细purchase_check_details
     * @return 新购验收任务详细purchase_check_details集合
     */
    public List<PurchaseCheckDetails> selectPurchaseCheckDetailsList(PurchaseCheckDetails purchaseCheckDetails);

    /**
     * 新增新购验收任务详细purchase_check_details
     * 
     * @param purchaseCheckDetailsList 新购验收任务详细purchase_check_details
     * @return 结果
     */
    public int insertPurchaseCheckDetails(List<PurchaseCheckDetails> purchaseCheckDetailsList);

    /**
     * 验收审核
     * 
     * @param purchaseCheckDetailsList
     * @return 结果
     */
    public int updatePurchaseCheckDetails(List<PurchaseCheckDetails> purchaseCheckDetailsList);

    /**
     * 批量删除新购验收任务详细purchase_check_details
     * 
     * @param taskIds 需要删除的新购验收任务详细purchase_check_details主键集合
     * @return 结果
     */
    public int deletePurchaseCheckDetailsByTaskIds(Long[] taskIds);

    /**
     * 删除新购验收任务详细purchase_check_details信息
     * 
     * @param id 新购验收任务详细purchase_check_details主键
     * @return 结果
     */
    public int deletePurchaseCheckDetailsByTaskId(Long id);

    int uploadPic(PurchaseCheckDetails purchaseCheckDetails);
}
