Browse Source

提供一个能调用父类的方法

pull/34/head
richie 5 years ago
parent
commit
7d66eae57a
  1. 12
      src/main/java/com/fanruan/api/report/write/BaseWriteActor.java

12
src/main/java/com/fanruan/api/report/write/BaseWriteActor.java

@ -28,4 +28,16 @@ public abstract class BaseWriteActor extends WriteActor {
* @return 结果集
*/
public abstract ResultWorkBook run(TemplateWorkBook templateWorkBook, Map map, int sheetIndex);
/**
* 调用原始的填报预览执行操作
*
* @param templateWorkBook 模板
* @param map 参数
* @param sheetIndex sheet编号
* @return 结果集
*/
public final ResultWorkBook run0(TemplateWorkBook templateWorkBook, Map map, int sheetIndex) {
return super.executeWorkBook(templateWorkBook, map, sheetIndex);
}
}

Loading…
Cancel
Save