Browse Source

修复表达式计算器未初始化BUG

master
jacky6024 7 years ago
parent
commit
272a2f38df
  1. 3
      ureport2-core/src/main/java/com/bstek/ureport/build/Context.java

3
ureport2-core/src/main/java/com/bstek/ureport/build/Context.java

@ -49,13 +49,13 @@ public class Context {
private int pageIndex;
private int totalPages;
private boolean doPaging;
private ElCalculator elCalculator;
private List<Row> currentPageRows;
private Map<String,Dataset> datasetMap;
private ApplicationContext applicationContext;
private ReportBuilder reportBuilder;
private Map<String,Object> parameters;
private HideRowColumnBuilder hideRowColumnBuilder;
private ElCalculator elCalculator=new ElCalculator();
private Map<String,List<Cell>> unprocessedCellsMap = new HashMap<String,List<Cell>>();
private Map<Row,Map<Column,Cell>> blankCellsMap=new HashMap<Row,Map<Column,Cell>>();
private Map<Row,Integer> fillBlankRowsMap=new HashMap<Row,Integer>();
@ -64,7 +64,6 @@ public class Context {
this.reportBuilder=reportBuilder;
this.report = report;
report.setContext(this);
this.elCalculator=new ElCalculator();
this.datasetMap=datasetMap;
this.applicationContext=applicationContext;
this.parameters=parameters;

Loading…
Cancel
Save