浏览代码

修改利用小时

xieshengjie 1 年之前
父节点
当前提交
e2db249da2

+ 4 - 4
web/runeconomy-xk/src/main/java/com/gyee/runeconomy/service/monitor/MonitorService.java

@@ -796,8 +796,8 @@ public class MonitorService {
                     qt.put("fdzzjrl", rg.getJrwindCapacity() / 1000);
                     qt.put("gfzzjrl", rg.getJrCapacity() / 1000);
                     qt.put("zzjrl", (rg.getJrwindCapacity() + rg.getJrCapacity()) / 1000);
-                    qt.put("ylyxs", (czyfdl / 10000) / ((rg.getJrwindCapacity() + rg.getJrCapacity()) / 1000));
-                    qt.put("nlyxs", (cznfdl / 10000) / ((rg.getJrwindCapacity() + rg.getJrCapacity()) / 1000));
+                    qt.put("ylyxs",(yfdl /10000) / ((rg.getJrwindCapacity() + rg.getJrCapacity()) / 1000));
+                    qt.put("nlyxs",(nfdl /10000)/ ((rg.getJrwindCapacity() + rg.getJrCapacity()) / 1000));
                 }
             }
 
@@ -806,8 +806,8 @@ public class MonitorService {
                     qt.put("fdzzjrl", cp.getJrwindCapacity() / 1000);
                     qt.put("gfzzjrl", cp.getJrCapacity() / 1000);
                     qt.put("zzjrl", (cp.getJrwindCapacity() + cp.getJrCapacity()) / 1000);
-                    qt.put("ylyxs", (czyfdl / 10000) / ((cp.getJrwindCapacity() + cp.getJrCapacity()) / 1000));
-                    qt.put("nlyxs", (cznfdl / 10000) / ((cp.getJrwindCapacity() + cp.getJrCapacity()) / 1000));
+                    qt.put("ylyxs", (yfdl /10000) / ((cp.getJrwindCapacity() + cp.getJrCapacity()) / 1000));
+                    qt.put("nlyxs", (nfdl /10000) / ((cp.getJrwindCapacity() + cp.getJrCapacity()) / 1000));
                 }
             }
             for (ProBasicPowerstation wp : wplist) {