diff --git a/src/main/java/com/nis/web/dao/dashboard/TrafficHttpStatisticDao.xml b/src/main/java/com/nis/web/dao/dashboard/TrafficHttpStatisticDao.xml index 650768e..f0ab688 100644 --- a/src/main/java/com/nis/web/dao/dashboard/TrafficHttpStatisticDao.xml +++ b/src/main/java/com/nis/web/dao/dashboard/TrafficHttpStatisticDao.xml @@ -37,7 +37,7 @@ - SELECT SUM(c2s_byte_len+s2c_byte_len) count FROM traffic_http_statistic t LEFT JOIN ui_website_domain_topic u ON t.web_id = u.id WHERE u.website_service_id=#{websiteServiceId} diff --git a/src/main/java/com/nis/web/dao/dashboard/TrafficUaStatisticDao.xml b/src/main/java/com/nis/web/dao/dashboard/TrafficUaStatisticDao.xml index b53c9fd..2f16fdf 100644 --- a/src/main/java/com/nis/web/dao/dashboard/TrafficUaStatisticDao.xml +++ b/src/main/java/com/nis/web/dao/dashboard/TrafficUaStatisticDao.xml @@ -27,7 +27,7 @@ GROUP BY os_type ORDER BY count DESC limit 0,10 - SELECT SUM(c2s_byte_len+s2c_byte_len) count FROM traffic_ua_statistic WHERE os_type !=0 and os_type=#{osType} and stat_time = DATE_SUB(#{statTime},INTERVAL 5 MINUTE) @@ -58,7 +58,7 @@ GROUP BY bs_type ORDER BY count DESC limit 0,10 - SELECT SUM(c2s_byte_len+s2c_byte_len) count FROM traffic_ua_statistic WHERE bs_type !=0 and bs_type=#{bsType} and stat_time = DATE_SUB(#{statTime},INTERVAL 5 MINUTE)