瀏覽代碼

首页取值修改

wangb 1 年之前
父節點
當前提交
f9cf98528e

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

@@ -704,9 +704,11 @@ public class MonitorService {
                     ProBasicPowerstationPoint gfsjglvalue = proBasicPowerstationPointService.getPowerstationPoint(str.substring(0, str.indexOf("0")) + "-2", ContantXk.SSZGL);
                     gfsjgl = edosUtil.getRealData(gfsjglvalue).getPointValueInDouble();
                 }
-                if (wpId.contains(FD) || wpId.contains(GF)){
+                if (wpId.contains(FD)){
                     ProBasicPowerstationPoint fdsjglvalue = proBasicPowerstationPointService.getPowerstationPoint(wpId, ContantXk.SSZGL);
                     fdsjgl = edosUtil.getRealData(fdsjglvalue).getPointValueInDouble();
+                }
+                if (wpId.contains(GF)) {
                     ProBasicPowerstationPoint gfsjglvalue = proBasicPowerstationPointService.getPowerstationPoint(wpId, ContantXk.SSZGL);
                     gfsjgl = edosUtil.getRealData(gfsjglvalue).getPointValueInDouble();
                 }