From c50c97d680edfe3f59051c6f1ca1cbb413f82190 Mon Sep 17 00:00:00 2001 From: zhanghongqing Date: Fri, 28 Dec 2018 17:08:12 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E6=8E=89=E6=B5=81=E9=87=8F=E7=BB=9F?= =?UTF-8?q?=E8=AE=A1=E4=B8=BB=E9=A2=98<0=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/nis/web/service/restful/DashboardService.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/main/java/com/nis/web/service/restful/DashboardService.java b/src/main/java/com/nis/web/service/restful/DashboardService.java index 814be38..57dce4c 100644 --- a/src/main/java/com/nis/web/service/restful/DashboardService.java +++ b/src/main/java/com/nis/web/service/restful/DashboardService.java @@ -1091,10 +1091,7 @@ public class DashboardService extends BaseService { // String linkNumStr = String.valueOf(webIdAndCountMap.get("linkNum")); // String packetsStr = String.valueOf(webIdAndCountMap.get("pktCount")); if (countStr != null) { - Long pl = (Long.parseLong(countStr)) / (1024 * 1024 * 1024); - if (pl > 0) { - count += Long.parseLong(countStr);// 将count累加 转换单位小于0的不加 - } + count += Long.parseLong(countStr);// 将count累加 转换单位小于0的不加 } // if (linkNumStr != null) { // linkNum += Long.parseLong(linkNumStr);// 将count累加