Commit c4f79b1f authored by neo's avatar neo

[dev] bb dependence use cache cell data

parent 7eb1e3c8
...@@ -80,7 +80,7 @@ public class BB extends FunctionBase implements FreeRefFunction { ...@@ -80,7 +80,7 @@ public class BB extends FunctionBase implements FreeRefFunction {
return returnEval; return returnEval;
} else if (bo.getPeriod().intValue() == 0) { } else if (bo.getPeriod().intValue() == 0) {
cellValue = new BigDecimal(ec.getWorkbook().getSheet(ec.getWorkbook().getSheetIndex(bo.getReportCode())) cellValue = new BigDecimal(ec.getWorkbook().getSheet(ec.getWorkbook().getSheetIndex(bo.getReportCode()))
.getCell(bo.getRowIndex(), bo.getColumnIndex()).getNumericCellValue()); .getCell(bo.getRowIndex()-1, bo.getColumnIndex()-1).getNumericCellValue());
return cellValue; return cellValue;
} }
......
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