package com.jwipc.tender.mapper;

import com.jwipc.tender.entity.TenderBid;
import com.jwipc.tender.entity.TenderBidDetail;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jwipc.tender.model.po.BargainingStatusPO;
import com.jwipc.tender.model.po.BidDetailPO;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Set;

/**
 * <p>
 * 招标项目明细表 Mapper 接口
 * </p>
 *
 * @author zhangjie
 * @since 2024-03-02
 */
public interface TenderBidDetailMapper extends BaseMapper<TenderBidDetail> {

    List<BargainingStatusPO> findBargainingStatusCount(@Param("tenderIds") Set<Long> tenderIds);

    List<TenderBid> getBargainingStatus(@Param("id") Long id);

    List<BidDetailPO> getBidTenderListByPurchaseApplyCode(@Param("purchaseApplyCode") String purchaseApplyCode, @Param("itemNo") String itemNo);
}
