Commit 75d1ddde authored by neo's avatar neo

[Bugfix] fixed BB isEmpt but shoudl use notEmpty

parent 2704734c
......@@ -112,7 +112,7 @@ public class BB extends FunctionBase implements FreeRefFunction {
List<PeriodDataSource> dss = agent.queryManualDataSource(Long.parseLong(cellTemplateData.getCellTemplateId()),
formulaContext.getProjectId(), bo.getPeriod());
if (dss.isEmpty()) {
if (!dss.isEmpty()) {
cellValue = cellValue.add(dss.get(0).getAmount());
}
nullCellDto.setAmount(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