去掉流量统计svg方式导出,流量统计others数据后台判断
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user