Browse Source

位数修改

wangb 2 years ago
parent
commit
ac6f1323d0

+ 1 - 1
web/monitor-web-sxjn/src/main/java/com/gyee/frame/service/websocket/GenreSetPushService.java

@@ -1986,7 +1986,7 @@ public class GenreSetPushService {
                                 fcmap.put(String.valueOf(sb), fcztvalue);
                                 sb.setLength(0);
                                 sb.append(ln.getId()).append("_").append("fcgl");
-                                fcmap.put(String.valueOf(sb), MathUtil.twoBit(fcglvalue));
+                                fcmap.put(String.valueOf(sb), MathUtil.twoBit(fcglvalue/1000));
                                 fcmap.put("name", ln.getName());
                                 fcmap.put("id", ln.getId());
                             }