package com.jwipc.inquiry.client;


import com.jwipc.inquiry.dto.CalculateQuotaDTO;
import com.jwipc.inquiry.dto.InquiryDetailByIdDetailClientDTO;

import java.util.List;

/**
 * @author shenyang.ou
 * @date 2024/2/28 10:54
 * @desc 价格信息记录
 */

public interface InquiryClient {

     /**
      * 计算配额
      * @param calculateQuotaDTOS 待计算配额
      * @return 已计算配额
      */
     List<CalculateQuotaDTO> calculateQuotaClient(List<CalculateQuotaDTO> calculateQuotaDTOS);

     List<InquiryDetailByIdDetailClientDTO> formDeatilById(Long xjId , String supplierId );
     List<InquiryDetailByIdDetailClientDTO> formDetailByMaterialSupplierId(List<String> inquiryIdList, String supplierId);



     void updateConState(Long xjdetailId, Integer state);
     void updateConStateByNos(String dataSourcesNos,String supplierCode, Integer state);

}
