package com.wms_main.excel.easypoi.service;

import com.wms_main.model.dto.query.DbsQuery;
import com.wms_main.model.dto.query.KittingBomQuery;
import com.wms_main.model.dto.query.KittingBomRelationQuery;
import jakarta.servlet.http.HttpServletResponse;
import org.springframework.web.bind.annotation.RequestBody;

import java.io.IOException;

public interface IExportExcelEasyPoi {
    /**
     * 导出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;
}
