Commit 4780055f authored by kevin's avatar kevin

#

parent c9fd2d49
......@@ -229,9 +229,9 @@ public class FunctionBase {
List<PeriodDataSource> dss = agent.queryManualDataSource(cellTemplateId, formulaContext.getProjectId(), formulaContext.getPeriod());
if (eval instanceof ErrorEval || eval == null || eval instanceof BlankEval) {
if(eval !=null && eval instanceof ErrorEval){ErrorEval
if(eval !=null && eval instanceof ErrorEval){
LOGGER.warn("[Formula_Exception] error eval for cell {} and error code {} and error String {}", cellTemplateId,
((ErrorEval) eval).getErrorCode(), (() eval).getErrorString());
((ErrorEval) eval).getErrorCode(), ((ErrorEval) eval).getErrorString());
}
if (!dss.isEmpty()) return dss.get(0).getAmount();
} else {
......
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