Commit 6dff0c5f authored by neo's avatar neo

[bugfix] refixed bb formual cpt

parent 3fd7d7cd
...@@ -585,8 +585,8 @@ public class ReportGeneratorImpl extends VatAbstractService implements ReportGen ...@@ -585,8 +585,8 @@ public class ReportGeneratorImpl extends VatAbstractService implements ReportGen
} }
periodCellTemplateConfigExtendDtos.forEach(p->{ periodCellTemplateConfigExtendDtos.forEach(p->{
String formula = p.getPeriodCellTemplateConfig().getFormula(); String formula = p.getFormula();
String parsedFormula = p.getPeriodCellTemplateConfig().getParsedFormula(); String parsedFormula = p.getParsedFormula();
if (formula.contains("BB(")) { if (formula.contains("BB(")) {
logger.debug("period cell template config contains bb formula {}", formula); logger.debug("period cell template config contains bb formula {}", formula);
if (parsedFormula.contains("PCT(")) { if (parsedFormula.contains("PCT(")) {
......
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