去掉流量统计svg方式导出,流量统计others数据后台判断

This commit is contained in:
zhanghongqing
2018-11-14 16:41:53 +08:00
parent 66edada817
commit 35e66a5e16
2 changed files with 13 additions and 3 deletions

View File

@@ -342,6 +342,11 @@ public class DashboardController extends BaseController{
map.put("bsType", code.getItem());
break;
}
//10个域名之外的为others 设为-1外
if(map.get("bsType").toString().equals("-1")){
map.put("bsType", "Others");
break;
}
}
resultList.add(map);
}
@@ -429,6 +434,11 @@ public class DashboardController extends BaseController{
Double value1 = Double.parseDouble(map.get("osType").toString());
for (CodeResult code : codeList2) {
Double value2 = Double.valueOf(code.getCode());
//10个域名之外的为others webId设为-1外
if(map.get("osType").toString().equals("-1")){
map.put("osType", "Others");
break;
}
if(value1.equals(value2)){
map.put("osType", code.getItem());
break;