fix:首页traffic带宽统计修正为in与out流量,增加流量格式转换更新sql语句

This commit is contained in:
doufenghu
2019-01-17 12:24:37 +06:00
parent 579ca529b5
commit 8e5055e0ea
3 changed files with 52 additions and 10 deletions

View File

@@ -1,2 +1,15 @@
--
alter table traffic_port_active_statistic add trans_proto int(11) default 0 comment '6-tcp 17 -udp';
alter table traffic_port_active_statistic add trans_proto int(11) default 0 comment '6-tcp 17 -udp';
alter table traffic_trans_statistic add direction int(11) comment '0-out 1-in';
alter table traffic_protocol_statistic add direction int(11) comment '0-out 1-in',
add addr_type varchar(32), add trans_type int(11) ;
alter table traffic_app_statistic add direction int(11) comment '0-out 1-in',
add addr_type varchar(32), add trans_type int(11) ;