Commit 1fc68560 authored by chase's avatar chase

fix bug

parent 66136186
......@@ -64,7 +64,7 @@ public class BB extends FunctionBase implements FreeRefFunction {
if (bo.getPeriod().intValue() == 99) {
dataSource.clear();
BigDecimal returnEval = defaultBigDecimal;
if (formulaContext.getPeriod() <= 1) {
if (formulaContext.getPeriod() < 1) {
return defaultBigDecimal;
}
//如果是当年取到当期截至,往年取12期
......
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