package org.dromara.system.service;

import jakarta.servlet.http.HttpServletRequest;
import jakarta.servlet.http.HttpServletResponse;
import org.springframework.http.ResponseEntity;
import org.springframework.web.multipart.MultipartFile;

import java.util.Map;

public interface IEnrollService {

    /**
     * 使用poi生成报名表模板
     * @param response
     * @param eventId
     */
    void downloadTemplateForPoi(HttpServletRequest request, HttpServletResponse response, Long eventId);

    /**
     * 使用poi导入报名表
     * @param file
     * @param eventId
     * @return
     */
    Boolean importDataForPoi(MultipartFile file, Long eventId);
}
