Commit 99315963 authored by yanzg's avatar yanzg

修改实体位置

parent c6aed539
package com.yanzuoguang.cloud.excel;
import com.yanzuoguang.db.impl.DbRow;
/**
* Excel导出接口
*
* @author 颜佐光
*/
public interface ExcelDaoFinish<T extends Object, M extends Object> extends ExcelDao<T, M> {
/**
* 循环处理每行数据
*
* @param excel excel对象
*/
void finish(DbRow<M> excel);
}
......@@ -89,6 +89,9 @@ public class ExcelHttp<T extends Object> extends ExcelConsole<T> {
try {
excel.open();
excelDao.export(excel, req.getCond());
if (excelDao instanceof ExcelDaoFinish) {
((ExcelDaoFinish<T, M>) excelDao).finish(excel);
}
excel.save();
excel.down(response);
} catch (IOException e) {
......
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