package com.huigou.topsun.ep.order.application;

import com.huigou.topsun.ep.order.domain.EpSaleOrderCancelItem;
import com.huigou.topsun.ep.order.domain.query.EpSaleOrderCancelQueryRequest;

import java.util.List;
import java.util.Map;

/**
 * @Auther: xin.lu
 * @Date: 2024/03/12/19:13
 * @Description:
 */
public interface EpSaleOrderCancelItemApplication {
    
    public static final String QUERY_XML_FILE_PATH = "config/topsun/ep/epSaleOrder/epSaleOrderCancel.xml";
    void saveEpSaleOrderCancelItems(String epSaleOrderCancelId, List<EpSaleOrderCancelItem> epSaleOrderCancelItems);

    Map<String,Object> queryEpSaleOrderCancelItems(EpSaleOrderCancelQueryRequest queryRequest);

    void deleteByIds(List<String> ids);

    List<EpSaleOrderCancelItem> findByEpSaleOrderCancelId(String epSaleOrderCancelId);
}
