package com.jwipc.inquiry.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jwipc.inquiry.entity.InquirySupplierQuoteLog;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jwipc.inquiry.model.po.InquirySupplierQuoteLogPO;
import com.jwipc.inquiry.model.query.InquirySupplierQuoteLogQuery;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 询价供应商报价日志 Mapper 接口
 * </p>
 *
 * @author shenyang.ou
 * @since 2024-02-25
 */
public interface InquirySupplierQuoteLogMapper extends BaseMapper<InquirySupplierQuoteLog> {

    List<InquirySupplierQuoteLogPO> findPageByQuery(@Param("query") InquirySupplierQuoteLogQuery query);

    List<InquirySupplierQuoteLogPO> findPageByQuery(Page<InquirySupplierQuoteLog> dbPage, @Param("query") InquirySupplierQuoteLogQuery query);
}
