去掉流量统计主题<0处理

This commit is contained in:
zhanghongqing
2018-12-28 17:08:12 +08:00
parent 75e414b7e6
commit c50c97d680

View File

@@ -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累加