Browse Source

经济运行首页和风机分析的设备利用小时

xushili 1 year atrás
parent
commit
07888a317c

+ 5 - 5
benchmarking-impala/src/main/java/com/gyee/benchmarkingimpala/service/BenchmarkingService.java

@@ -2342,11 +2342,11 @@ public class BenchmarkingService  {
                 "sum(daynhxdssdl) daynhxdssdl," +
                 "sum(daynhqfdl) daynhqfdl," +
                 "sum(daynhcfdl) daynhcfdl, " +
-                "nvl(sum(actualpower),0)/decode(sum(theoreticalpower),0,100,null,100)*100 windenergy, " +
-                "nvl(sum(daynhxdssdl),0)/decode(sum(theoreticalpower),0,100,null,100)*100 powerlossrate, " +
-                "nvl(sum(daynhqfdl),0)/decode(sum(theoreticalpower),0,100,null,100)*100 performancelossrate, " +
-                "nvl(sum(daynhgzssdl),0)/decode(sum(theoreticalpower),0,100,null,100)*100 failurelossrate, " +
-                "nvl(sum(daynhwhssdl),0)/decode(sum(theoreticalpower),0,100,null,100)*100 mainlossrate," +
+                "nvl(sum(actualpower),0)/decode(sum(theoreticalpower),0,100,null,100,sum(theoreticalpower))*100 windenergy, " +
+                "nvl(sum(daynhxdssdl),0)/decode(sum(theoreticalpower),0,100,null,100,sum(theoreticalpower))*100 powerlossrate, " +
+                "nvl(sum(daynhqfdl),0)/decode(sum(theoreticalpower),0,100,null,100,sum(theoreticalpower))*100 performancelossrate, " +
+                "nvl(sum(daynhgzssdl),0)/decode(sum(theoreticalpower),0,100,null,100,sum(theoreticalpower))*100 failurelossrate, " +
+                "nvl(sum(daynhwhssdl),0)/decode(sum(theoreticalpower),0,100,null,100,sum(theoreticalpower))*100 mainlossrate," +
                 "avg(comprehensiverate) comprehensiverate,sum(actualpower)/avg(capacity) utilizationhours," +
                 "avg(windpoweraccuracy) windpoweraccuracy," +
                 "avg(agccurvefollowing) agccurvefollowing," +