package com.jwipc.tender.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.jwipc.tender.entity.Tender;
import com.jwipc.tender.model.po.*;
import com.jwipc.tender.model.query.TenderQuery;

import java.util.List;

/**
 * <p>
 * 招标单主表 服务类
 * </p>
 *
 * @author shenyang.ou
 * @since 2024-02-29
 */
public interface ITenderService extends IService<Tender> {

    List<TenderListPO> findList(Page<TenderListPO> page, TenderQuery query);

    List<TenderListPO> findBenchmarksList(Page<TenderListPO> page, TenderQuery query);

    List<TenderDetailByIdPO> zblistFindByList(Long zbId);

    List<TenderDetailByIdDetailPO> formMaterialDeatilById(Long zbId,String supplierId );

    List<TenderCreatePriceInfoPO> getByTenderId(Long id);

    List<TenderDetailByIdPO> getConvertedContractByTenderId(Long tenderId);

    List<TenderCostContractPO> getTenderCostContractList(Long tenderId);
}
