package com.jwipc.supplier.logic;

import com.jwipc.page.PageView;
import com.jwipc.supplier.dto.RelationBidDTO;
import com.jwipc.supplier.dto.SupplierBaseDTO;
import com.jwipc.supplier.model.query.SupRelationBidQuery;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * <p> </p>
 *
 * @author BOGON
 * @version 1.0
 * @since JDK 1.8
 */
public interface SupRelationBidLogic {
    PageView findByPage(SupRelationBidQuery query);
    RelationBidDTO getById(Long id);
    void saveOrUpdate(RelationBidDTO param);
    void remove(Long Id);
    void itemImportData(MultipartFile file);

    List<SupplierBaseDTO> getAgentList();

    RelationBidDTO getBySupplierCode(String supplierCode);
}