package com.jwipc.tender.logic;

import com.jwipc.page.PageView;
import com.jwipc.tender.dto.TenderCostContractDTO;
import com.jwipc.tender.dto.TenderSaveDTO;
import com.jwipc.tender.dto.UpdateTimeDTO;
import com.jwipc.tender.model.po.TenderDetailByIdPO;
import com.jwipc.tender.model.query.TenderQuery;

import java.util.List;

/**
 * <p> </p>
 *
 * @author BOGON
 * @version 1.0
 * @since JDK 1.8
 */
public interface TenderLogic {
    PageView getList(TenderQuery query);

    void saveOrUpdate(TenderSaveDTO saveDTO);

    TenderSaveDTO getDetail(Long id);

    void remove(Long id);

    void approval(Long id, String remark, Integer status);

    String getAgreement(Long tenderId);

    UpdateTimeDTO getTimeDTO(Long id);

    void updateTime(UpdateTimeDTO updateTimeDTO);

    void stop(Long id);

    PageView supplierProcess(Long id, Integer type);

    List<TenderDetailByIdPO> zblistFindByList(Long zbId);

    void toVoid(Long id);

    PageView bargainingStatus(Long id);

    List<TenderCostContractDTO> getTenderCostContractList(Long tenderId);
}