Commit 11a672da authored by tianyiming's avatar tianyiming

fix(Statistics): 大屏困人救援弹窗列表增加默认值

parent 31e57bb7
...@@ -126,6 +126,12 @@ public class KrjyydqkServiceImpl implements IZBGLService { ...@@ -126,6 +126,12 @@ public class KrjyydqkServiceImpl implements IZBGLService {
itemResult.put(key.getKey(), key.getValue() + " / " + BigDecimal.valueOf(key.getValue()).divide(BigDecimal.valueOf(sum.get()), 2, RoundingMode.HALF_UP).multiply(BigDecimal.valueOf(100)).stripTrailingZeros().toPlainString() + "%"); itemResult.put(key.getKey(), key.getValue() + " / " + BigDecimal.valueOf(key.getValue()).divide(BigDecimal.valueOf(sum.get()), 2, RoundingMode.HALF_UP).multiply(BigDecimal.valueOf(100)).stripTrailingZeros().toPlainString() + "%");
} }
}); });
} else {
itemResult.put("lessNum", "0");
itemResult.put("greaterNum", "0");
itemResult.put("levelOne", "0");
itemResult.put("levelTwo", "0");
itemResult.put("levelThree", "0");
} }
itemResult.put("area",r.getRegionName()); itemResult.put("area",r.getRegionName());
itemResult.put("sequenceNbr", UUID.fastUUID().toString()); itemResult.put("sequenceNbr", UUID.fastUUID().toString());
......
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