package com.jwipc.order.logic;

import com.jwipc.order.dto.PurchaseOrderMarkDTO;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.web.multipart.MultipartFile;

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

/**
 * <p> </p>
 *
 * @author BOGON
 * @version 1.0
 * @since JDK 1.8
 */
public interface PurchaseOrderMarkLogic {
    void updateBatch(List<PurchaseOrderMarkDTO> purchaseOrderMark);

    Set<String> importMark(MultipartFile file, int type);

    @Transactional(rollbackFor = Exception.class)
    Set<String> importMark1(MultipartFile file);
}