Commit 59d40961 authored by yanzg's avatar yanzg

Excel导出功能

parent b0c53197
...@@ -67,6 +67,7 @@ public class ExcelHttp<T extends Object> extends ExcelConsole<T> { ...@@ -67,6 +67,7 @@ public class ExcelHttp<T extends Object> extends ExcelConsole<T> {
* *
* @param req 请求对接 * @param req 请求对接
* @param response 输出结果 * @param response 输出结果
* @param excelDao dao层实现接口
*/ */
public static <T extends Object, M extends Object> void export(ExportBase<T> req, HttpServletResponse response, ExcelDao<T, M> excelDao) { public static <T extends Object, M extends Object> void export(ExportBase<T> req, HttpServletResponse response, ExcelDao<T, M> excelDao) {
ExcelHttp<M> excel = new ExcelHttp<>(req.getConfig()); ExcelHttp<M> excel = new ExcelHttp<>(req.getConfig());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment