Commit 90ce5d07 authored by chase's avatar chase

fix bug

parent 32d257ad
...@@ -102,7 +102,7 @@ public class BB extends FunctionBase implements FreeRefFunction { ...@@ -102,7 +102,7 @@ public class BB extends FunctionBase implements FreeRefFunction {
nullCellDto.fixedWithGroup(cellTemplateData); nullCellDto.fixedWithGroup(cellTemplateData);
//当年当期 //当年当期
if ((bo.getPeriod().intValue() == 0 && bo.getYear().intValue() == 0)|| if ((bo.getPeriod().intValue() == 0 && bo.getYear().intValue() == 0)||
(bo.getYear().equals(formulaContext.getYear())&&bo.getPeriod().equals(formulaContext.getPeriod()))) { (curPeriod.getCurYear() == formulaContext.getYear() && curPeriod.getCurPeriod() == formulaContext.getPeriod())) {
int index = ec.getWorkbook().getSheetIndex(bo.getReportCode()); int index = ec.getWorkbook().getSheetIndex(bo.getReportCode());
cellValue = getCellValue(index, ec, formulaContext, agent, bo.getRowIndex() - 1, bo.getColumnIndex() - 1, cellValue = getCellValue(index, ec, formulaContext, agent, bo.getRowIndex() - 1, bo.getColumnIndex() - 1,
Long.parseLong(cellTemplateData.getCellTemplateId())); Long.parseLong(cellTemplateData.getCellTemplateId()));
......
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