package com.jwipc.supplier.logic;

import com.jwipc.page.PageView;
import com.jwipc.supplier.dto.SupplierMaterialDemoBaseDTO;
import com.jwipc.supplier.dto.SupplierMaterialDemoExamineDTO;
import com.jwipc.supplier.dto.SupplierMaterialDemoSaveDTO;
import com.jwipc.supplier.model.query.MaterialDemoQuery;

import java.util.List;

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

    void saveOrUpdate(SupplierMaterialDemoSaveDTO saveDTO);

    void remove(List<String> idList);

    void examine(SupplierMaterialDemoExamineDTO examineDto);

    SupplierMaterialDemoBaseDTO getDetail(Long id);

    List<SupplierMaterialDemoBaseDTO> listAll(MaterialDemoQuery materialDemoQuery);


    PageView listBySupplierId(MaterialDemoQuery query);

    PageView listByHeader(Long id);

    void confirm(Long id);
}