package com.wms_main.excel.easypoi.service;

import com.wms_main.excel.easypoi.service.base.IBaseExportExcelEasyPoi;
import com.wms_main.model.dto.query.*;
import jakarta.servlet.http.HttpServletResponse;
import org.springframework.web.bind.annotation.RequestBody;

import java.io.IOException;

/**
 * 导出服务
 */
public interface IExportExcelEasyPoi extends IBaseExportExcelEasyPoi {
    /**
     * 导出DBS
     * @param dbsQuery 查询条件
     */
    void doExportDbs(@RequestBody DbsQuery dbsQuery, HttpServletResponse response) throws IOException;

    /**
     * 导出配料清单
     * @param kittingBomQuery 查询条件
     */
    void doExportKittingBom(@RequestBody KittingBomQuery kittingBomQuery, HttpServletResponse response) throws IOException;

    /**
     * 导出配对关系
     * @param kittingBomRelationQuery 查询条件
     */
    void doExportKittingBomRelations(@RequestBody KittingBomRelationQuery kittingBomRelationQuery, HttpServletResponse response) throws IOException;

    /**
     * 导出工作详情
     * @param workSummaryQuery 查询条件
     */
    void doExportWorkSummaryExcel(@RequestBody WorkSummaryQuery workSummaryQuery, HttpServletResponse response) throws IOException;

    /**
     * 导出看板需求
     * @param kanbanQuery 查询条件
     */
    void doExportKanbanExcel(@RequestBody KanbanQuery kanbanQuery, HttpServletResponse response) throws IOException;
}
