Commit a02be52e by hzc

修改改善提升同比值为零时不趋好也不趋坏

parent 85f80b2b
......@@ -367,7 +367,7 @@ public class IndScorecardService {
}else {
//获取单位同期比率
String rate = CalculateUtils.calGowth(current.getValue(), same.getValue(),growCalType);
if(StringUtils.isNotBlank(rate)) {
if(StringUtils.isNotBlank(rate)&&!"0.0000".equals(rate)&&!"NaN".equals(rate)&&!"Infinite".equals(rate)) {
if("0".equals(acsType)) {
if(Double.valueOf(rate)>0) {//同比趋好
//加减分操作 0:加分 1:减分
......
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