package com.jwipc.order.logic;

import com.jwipc.order.dto.PurchaseOrderDevPlanBaseDTO;
import com.jwipc.order.model.po.PurchaseOrderPlanPO;
import com.jwipc.order.model.query.PurchaseOrderPlanQuery;
import com.jwipc.page.PageView;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.web.multipart.MultipartFile;

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

/**
 * @Author: swq
 * @Date: 2024/4/1 11:20
 */
public interface PurchaseOrderPlanLogic {
    PageView getList(PurchaseOrderPlanQuery query);
    List<PurchaseOrderPlanPO> listAll(PurchaseOrderPlanQuery purchaseOrderPlanQuery);

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

    void saveOrUpdate(List<PurchaseOrderDevPlanBaseDTO> param);
}
