package com.jwipc.tender.service;

import com.jwipc.tender.entity.TenderBid;
import com.jwipc.tender.entity.TenderBidDetail;
import com.baomidou.mybatisplus.extension.service.IService;
import com.jwipc.tender.model.po.BargainingStatusPO;
import com.jwipc.tender.model.po.BidDetailPO;

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

/**
 * <p>
 * 招标项目明细表 服务类
 * </p>
 *
 * @author zhangjie
 * @since 2024-03-02
 */
public interface ITenderBidDetailService extends IService<TenderBidDetail> {

    List<BargainingStatusPO> findBargainingStatusCount(Set<Long> tenderIds);

    List<TenderBid> getBargainingStatus(Long id);

    /**
     * 获取定标的招标单物料详情
     * @param purchaseApplyCode 采购申请单编号
     * @param itemNo 物料编号
     * @return 定标的招标单物料详情
     */
    List<BidDetailPO> getBidTenderListByPurchaseApplyCode(String purchaseApplyCode, String itemNo);
}
