瀏覽代碼

首页修改

xieshengjie 1 年之前
父節點
當前提交
44dae3d5de

+ 3 - 0
realtime/generationXK-service/src/main/java/com/gyee/generation/service/realtimelibrary/RegionCalreService.java

@@ -186,6 +186,7 @@ public class RegionCalreService  {
         double zczzt = 0;
 
         List<Double> aqtsList = new ArrayList<>();
+        aqtsList.add(0.0);
 //        companys.stream().forEach(company->{
          for(ProBasicCompany company:companys){
             if (company.getJrCapacity()>0 && company.getSpare3().equals("1")){
@@ -681,6 +682,7 @@ public class RegionCalreService  {
         AtomicReference<Double> djts = new AtomicReference<>((double) 0);
         Double zczzt = 0.0;
         List<Double> aqtsList = new ArrayList<>();
+        aqtsList.add(0.0);
 //        wps.stream().forEach(wp->{
         for(ProBasicPowerstation wp : wps) {
 
@@ -1137,6 +1139,7 @@ public class RegionCalreService  {
         AtomicReference<Double> djts = new AtomicReference<>((double) 0);
         Double zczzt = 0.0;
         List<Double> aqtsList = new ArrayList<>();
+        aqtsList.add(0.0);
 //        wps.stream().forEach(wp->{
         for(ProBasicPowerstation wp : wps) {