app ,http网站,活跃IP,协议统计,ua浏览器操作系统 改为bytes维度

This commit is contained in:
zhanghongqing
2018-12-01 14:10:59 +08:00
parent 9e56a1f1cd
commit 8e8b519167
5 changed files with 17 additions and 17 deletions

View File

@@ -20,7 +20,7 @@
SELECT MAX(stat_time) statTime FROM traffic_app_statistic WHERE app_type != 0
</select>
<select id="appChart" resultType="java.util.HashMap">
SELECT app_type appType, SUM(link_num) count FROM traffic_app_statistic
SELECT app_type appType, SUM(c2s_byte_len+s2c_byte_len) count FROM traffic_app_statistic
WHERE app_type !=0 and stat_time = #{statTime}
GROUP BY app_type order by count desc limit 0,10
</select>