From eb57cd7a88937ba8c056acf1d1f034f655862fa5 Mon Sep 17 00:00:00 2001 From: zhanghongqing Date: Wed, 14 Nov 2018 15:09:53 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=B5=81=E9=87=8F=E7=BB=9F?= =?UTF-8?q?=E8=AE=A1=E6=B5=8F=E8=A7=88=E5=99=A8=E6=93=8D=E4=BD=9C=E7=B3=BB?= =?UTF-8?q?=E7=BB=9F=E5=8F=82=E6=95=B0=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/nis/web/dao/dashboard/TrafficUaStatisticDao.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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