Commit 3fd7d7cd authored by neo's avatar neo

[dev] fixed bb parsed formula

parent 40867ca7
......@@ -583,6 +583,17 @@ public class ReportGeneratorImpl extends VatAbstractService implements ReportGen
});
}
periodCellTemplateConfigExtendDtos.forEach(p->{
String formula = p.getPeriodCellTemplateConfig().getFormula();
String parsedFormula = p.getPeriodCellTemplateConfig().getParsedFormula();
if (formula.contains("BB(")) {
logger.debug("period cell template config contains bb formula {}", formula);
if (parsedFormula.contains("PCT(")) {
p.setParsedFormula(p.getPeriodCellTemplateConfig().getParsedFormula());
}
}
});
}
private String convertListToString(List<String> list) {
......
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