package com.bonus.canteen.core.supply.purchase.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.bonus.canteen.core.supply.purchase.domain.bo.DrpInquirySupplier;
import com.bonus.canteen.core.supply.purchase.domain.bo.MinQuoteSupplierModel;
import com.bonus.canteen.core.supply.purchase.domain.vo.DrpSupplierQuoteVO;
import com.bonus.canteen.core.supply.purchase.domain.vo.QuerySupplierQuoteVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface DrpPurchaseInquirySupplierMapper extends BaseMapper<DrpInquirySupplier> {

   MinQuoteSupplierModel getMinQuoteSupplier(@Param("inquiryId") String inquiryId);

   List<DrpSupplierQuoteVO> listSupplierQuote(@Param("inquiryId") String inquiryId);

   List<DrpSupplierQuoteVO> listSupplierQuoteAll(@Param("inquiryId") String inquiryId);

   QuerySupplierQuoteVO querySupplierQuote(@Param("inquirySupplierId") Long inquirySupplierId);

}
