package com.jwipc.inquiry.service;

import com.jwipc.inquiry.entity.InquiryMaterial;
import com.baomidou.mybatisplus.extension.service.IService;
import com.jwipc.inquiry.model.po.AssistantMaterialSupplierPO;
import com.jwipc.inquiry.model.po.InquiryMaterialPO;
import com.jwipc.inquiry.model.query.InquiryMaterialQuery;

import java.math.BigDecimal;
import java.util.List;

/**
 * <p>
 * 询价物料表 服务类
 * </p>
 *
 * @author shenyang.ou
 * @since 2024-02-21
 */
public interface IInquiryMaterialService extends IService<InquiryMaterial> {

    List<InquiryMaterialPO> listAll(InquiryMaterialQuery query);

    List<AssistantMaterialSupplierPO> getAssistantMaterialByInquiryId(Long inquiryId);

    BigDecimal getPurchaseNumAmountByBillNoAndCode(String purchaseBillCode, String purchaseBillItemCode,Long id);

}
