package com.jwipc.inquiry.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jwipc.inquiry.entity.Inquiry;
import com.jwipc.inquiry.entity.PriceInfo;
import com.jwipc.inquiry.model.po.InquiryPO;
import com.jwipc.inquiry.model.po.PriceWarningPO;
import com.jwipc.inquiry.model.query.InquiryQuery;
import com.jwipc.inquiry.model.query.PriceWarningQuery;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PriceWarningMapper extends BaseMapper<PriceInfo> {

    List<PriceWarningPO> findPageByQuery(@Param("query") PriceWarningQuery query);

    List<PriceWarningPO> findPageByQuery(Page<PriceInfo> dbPage, @Param("query") PriceWarningQuery query);
}
