package com.jwipc.inquiry.impl;

import com.jwipc.inquiry.client.InquiryMaterialSupplierClient;
import com.jwipc.inquiry.dto.InquiryMaterialSupplierClientDTO;
import com.jwipc.inquiry.logic.InquiryMaterialSupplierLogic;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  供应商报价接口实现类
 * </p>
 *
 * @author Chen Tianshi
 * @since 2026/1/13 19:25
 */
@Service
@RequiredArgsConstructor
public class InquiryMaterialSupplierClientImpl implements InquiryMaterialSupplierClient {
    private final InquiryMaterialSupplierLogic inquiryMaterialSupplierLogic;
    @Override
    public List<InquiryMaterialSupplierClientDTO> getBidInquiryListByPurchaseApplyCode(String purchaseApplyCode, String itemNo) {
        return inquiryMaterialSupplierLogic.getBidInquiryListByPurchaseApplyCode(purchaseApplyCode, itemNo);
    }
}
