package com.jwipc.tender.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jwipc.tender.entity.TenderBidQuoteLog;
import com.jwipc.tender.mapper.TenderBidQuoteLogMapper;
import com.jwipc.tender.model.po.BidQuoteLogPO;
import com.jwipc.tender.model.query.BidQuoteLogQuery;
import com.jwipc.tender.service.ITenderBidQuoteLogService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 招标供应商报价日志 服务实现类
 * </p>
 *
 * @author zhangjie
 * @since 2024-03-04
 */
@Service
public class TenderBidQuoteLogServiceImpl extends ServiceImpl<TenderBidQuoteLogMapper, TenderBidQuoteLog> implements ITenderBidQuoteLogService {

    @Override
    public List<BidQuoteLogPO> findForPage(Page<BidQuoteLogPO> page, BidQuoteLogQuery query) {
        return this.baseMapper.selectForPage(page,query);
    }

    @Override
    public List<BidQuoteLogPO> findForAll(BidQuoteLogQuery query) {
        return this.baseMapper.selectForPage(query);
    }
}
