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 a922340..f3e2b6c 100644 --- a/src/main/java/com/nis/web/dao/dashboard/TrafficUaStatisticDao.xml +++ b/src/main/java/com/nis/web/dao/dashboard/TrafficUaStatisticDao.xml @@ -33,7 +33,7 @@ and stat_time = DATE_SUB(#{statTime},INTERVAL 5 MINUTE) - SELECT bs_type bsType, SUM(link_num) count FROM galaxy.traffic_ua_statistic WHERE bs_type !=0 and os_type=#{osType} and stat_time = #{statTime} GROUP BY bs_type ORDER BY count DESC limit 0,10 @@ -64,7 +64,7 @@ and stat_time = DATE_SUB(#{statTime},INTERVAL 5 MINUTE) - SELECT os_type osType, SUM(link_num) count FROM galaxy.traffic_ua_statistic WHERE os_type !=0 and bs_type=#{bsType} and stat_time = #{statTime} GROUP BY os_type ORDER BY count DESC limit 0,10