|
@@ -573,6 +573,7 @@ public class MonitorService {
|
|
|
}
|
|
|
List<ProBasicEnergyGroup> gpls = CacheContext.gpls;
|
|
|
List<ProBasicRegion> rgls = CacheContext.rgls;
|
|
|
+ List<ProBasicCompany> cpls = CacheContext.cpls;
|
|
|
|
|
|
for (ProBasicEnergyGroup gp : gpls){
|
|
|
if (wpId.contains(gp.getId())) {
|
|
@@ -588,6 +589,14 @@ public class MonitorService {
|
|
|
qt.put("zzjrl", (rg.getJrwindCapacity() + rg.getJrCapacity()) / 1000);
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
+ for (ProBasicCompany cp : cpls){
|
|
|
+ if (wpId.contains(cp.getId())) {
|
|
|
+ qt.put("fdzzjrl", cp.getJrwindCapacity() / 1000);
|
|
|
+ qt.put("gfzzjrl", cp.getJrCapacity() / 1000);
|
|
|
+ qt.put("zzjrl", (cp.getJrwindCapacity() + cp.getJrCapacity()) / 1000);
|
|
|
+ }
|
|
|
+ }
|
|
|
qt.put("aqts", MathUtil.twoBit(aqts));
|
|
|
qt.put("sjgl", MathUtil.twoBit(sjgl));
|
|
|
qt.put("yfdl", MathUtil.twoBit(yfdl));
|