richie
5 years ago
2 changed files with 53 additions and 0 deletions
@ -0,0 +1,31 @@ |
|||||||
|
package com.fanruan.api.report.write; |
||||||
|
|
||||||
|
import com.fr.main.TemplateWorkBook; |
||||||
|
import com.fr.main.workbook.ResultWorkBook; |
||||||
|
import com.fr.stable.WriteActor; |
||||||
|
|
||||||
|
import java.util.Map; |
||||||
|
|
||||||
|
/** |
||||||
|
* @author richie |
||||||
|
* @version 10.0 |
||||||
|
* Created by richie on 2019/10/14 |
||||||
|
* 填报预览接口 |
||||||
|
*/ |
||||||
|
public abstract class BaseWriteActor extends WriteActor { |
||||||
|
|
||||||
|
@Override |
||||||
|
public ResultWorkBook executeWorkBook(TemplateWorkBook templateWorkBook, Map map, int i) { |
||||||
|
return run(templateWorkBook, map, i); |
||||||
|
} |
||||||
|
|
||||||
|
/** |
||||||
|
* 将模板计算为结果结果集 |
||||||
|
* |
||||||
|
* @param templateWorkBook 模板 |
||||||
|
* @param map 参数 |
||||||
|
* @param sheetIndex sheet编号 |
||||||
|
* @return 结果集 |
||||||
|
*/ |
||||||
|
public abstract ResultWorkBook run(TemplateWorkBook templateWorkBook, Map map, int sheetIndex); |
||||||
|
} |
Loading…
Reference in new issue