package com.jwipc.tender.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jwipc.tender.entity.TenderBid;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jwipc.tender.model.po.TenderBidListPO;
import com.jwipc.tender.model.query.BidQuery;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 招标单 Mapper 接口
 * </p>
 *
 * @author shenyang.ou
 * @since 2024-02-29
 */
public interface TenderBidMapper extends BaseMapper<TenderBid> {

    List<TenderBidListPO> findConfirmJoinList(Page<TenderBidListPO> page,@Param("q") BidQuery query);

    List<TenderBidListPO> findSecurityDepositList(Page<TenderBidListPO> page, @Param("q")BidQuery query);

    List<TenderBidListPO> findToBeQuotedList(Page<TenderBidListPO> page,@Param("q") BidQuery query);

    List<TenderBidListPO> findHistoryList(Page<TenderBidListPO> page, @Param("q")BidQuery query);
}
