Prechádzať zdrojové kódy

资源分析补充提交,增加牛家岭判断

wangb@gyee-china.com 1 rok pred
rodič
commit
68130979aa

+ 6 - 2
web/runeconomy-xk/src/main/java/com/gyee/runeconomy/service/Windresourceanalysis/WindresourceanalysisService.java

@@ -108,8 +108,12 @@ public class WindresourceanalysisService {
                 List<PointData> maxs = edosUtil.getHistStat(pjfx, startTime.getTime() / 1000, endTime.getTime() / 1000, (long) 1, null, 0);
                 List<PointData> mins = edosUtil.getHistStat(pjfx, startTime.getTime() / 1000, endTime.getTime() / 1000, (long) 1, null, 1);
                 List<PointData> ave = edosUtil.getHistStat(pjfx, startTime.getTime() / 1000, endTime.getTime() / 1000, (long) 1, null, 2);
-
-                double avefx = ave.get(0).getPointValueInDouble();
+                double avefx = 0.0;
+                if (wp.getId().contains("NJLF01")) {
+                    avefx = ave.get(0).getPointValueInDouble() / 10;
+                }else {
+                    avefx = ave.get(0).getPointValueInDouble();
+                }
                 vo.setPjfx(StringUtils.round(avefx, 2));
                 vos.add(vo);
             }