package com.erp.audit.service;

import com.erp.audit.dto.AuditLogQueryRequest;
import com.erp.audit.dto.ExportRequest;
import jakarta.servlet.http.HttpServletResponse;
import java.util.List;

/**
 * 导出服务接口
 */
public interface ExportService {

    /**
     * 导出CSV
     */
    void exportCsv(ExportRequest request, HttpServletResponse response) throws Exception;

    /**
     * 导出Excel
     */
    void exportExcel(ExportRequest request, HttpServletResponse response) throws Exception;

    /**
     * 导出指定日志列表
     */
    void exportList(List<?> data, String format, String[] headers, String fileName, HttpServletResponse response) throws Exception;
}
