Commit 2b250c15 authored by kevin's avatar kevin

#

parent 310468b7
...@@ -56,11 +56,10 @@ public class TABLESUMIF extends FunctionBase implements FreeRefFunction { ...@@ -56,11 +56,10 @@ public class TABLESUMIF extends FunctionBase implements FreeRefFunction {
String filterValue =resolverString(args, ec, 3); String filterValue =resolverString(args, ec, 3);
period = resolverInteger(args, ec, 4);//会计期间 period = resolverInteger(args, ec, 4);//会计期间
year = resolverString(args, ec, 5);//会计年度 year = resolverString(args, ec, 5);//会计年度
new NumberEval(agent.getTableDataByName(tableName, getField,filter,filterValue, period, year, formulaContext).doubleValue()); return new NumberEval(agent.getTableDataByName(tableName, getField,filter,filterValue, period, year, formulaContext).doubleValue());
} catch (EvaluationException e) { } catch (EvaluationException e) {
e.printStackTrace(); e.printStackTrace();
return new NumberEval(0.00); return new NumberEval(0.00);
} }
return new NumberEval(0.00);
} }
} }
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