From 74343d81f6502b8b3bfa163dc6b99a83ea028b68 Mon Sep 17 00:00:00 2001 From: kaiyu <404897439@qq.com> Date: Thu, 30 Sep 2021 16:14:16 +0800 Subject: [PATCH] screen-aqi 增加周数据mapper --- screen-common/src/main/java/com/moral/util/ComprehensiveIndexUtils.java | 13 +++++++------ 1 files changed, 7 insertions(+), 6 deletions(-) diff --git a/screen-common/src/main/java/com/moral/util/ComprehensiveIndexUtils.java b/screen-common/src/main/java/com/moral/util/ComprehensiveIndexUtils.java index 9f9b368..638c261 100644 --- a/screen-common/src/main/java/com/moral/util/ComprehensiveIndexUtils.java +++ b/screen-common/src/main/java/com/moral/util/ComprehensiveIndexUtils.java @@ -45,12 +45,13 @@ Double ICO = CCO / SCO; Double IO3 = CO3 / SO3; //������������������ - Double ComprehensiveIndex = MathUtils.add(ISO2,INO2); - ComprehensiveIndex = MathUtils.add(ComprehensiveIndex,IPM25); - ComprehensiveIndex = MathUtils.add(ComprehensiveIndex,IPM10); - ComprehensiveIndex = MathUtils.add(ComprehensiveIndex,ICO); - ComprehensiveIndex = MathUtils.add(ComprehensiveIndex,IO3); - return ComprehensiveIndex; + Double comprehensiveIndex = MathUtils.add(ISO2,INO2); + comprehensiveIndex = MathUtils.add(comprehensiveIndex,IPM25); + comprehensiveIndex = MathUtils.add(comprehensiveIndex,IPM10); + comprehensiveIndex = MathUtils.add(comprehensiveIndex,ICO); + comprehensiveIndex = MathUtils.add(comprehensiveIndex,IO3); + comprehensiveIndex = AmendUtils.sciCal(comprehensiveIndex,2); + return comprehensiveIndex; } /** -- Gitblit v1.8.0