app,协议详情列表跟图表百分比不同问题已解决
This commit is contained in:
@@ -270,7 +270,7 @@ public class TrafficStatisticsInfoController extends BaseController {
|
||||
Long totalPackets=0l;
|
||||
Double totalGByte=0d;
|
||||
DecimalFormat lf = new DecimalFormat("0");
|
||||
DecimalFormat df = new DecimalFormat("0.00");
|
||||
DecimalFormat df = new DecimalFormat("0.0000000000");
|
||||
List<CodeResult> appCodeList = CodeDicUtils.getCodeList("appCode");
|
||||
if(!StringUtil.isEmpty(list)){
|
||||
for (Object object : list) {
|
||||
@@ -338,7 +338,7 @@ public class TrafficStatisticsInfoController extends BaseController {
|
||||
Long totalPackets=0l;
|
||||
Double totalGByte=0d;
|
||||
DecimalFormat lf = new DecimalFormat("0");
|
||||
DecimalFormat df = new DecimalFormat("0.00");
|
||||
DecimalFormat df = new DecimalFormat("0.0000000000");
|
||||
if(!StringUtil.isEmpty(list)){
|
||||
for (Object object : list) {
|
||||
Map m=(Map) object;
|
||||
|
||||
@@ -263,7 +263,7 @@ function protocolTypeChart(rs){
|
||||
$(rs).each(function(i, d) {
|
||||
data.push({
|
||||
name: d.appName,
|
||||
y: parseInt(d.GByte),
|
||||
y: parseFloat(d.GByte),
|
||||
});
|
||||
});
|
||||
// 创建图例
|
||||
|
||||
@@ -252,7 +252,7 @@ function protocolTypeChart(rs){
|
||||
$(rs).each(function(i, d) {
|
||||
data.push({
|
||||
name: d.protocolType,
|
||||
y: parseInt(d.GByte),
|
||||
y: parseFloat(d.GByte),
|
||||
});
|
||||
});
|
||||
// 创建图例
|
||||
|
||||
Reference in New Issue
Block a user