修改单位划算问题

This commit is contained in:
zhanghongqing
2018-12-12 14:46:59 +08:00
parent 434c343617
commit 8e3270d4be
3 changed files with 3 additions and 3 deletions

View File

@@ -30,7 +30,7 @@
<select id="getAppList" resultType="java.util.HashMap">
SELECT IFNULL(c.app_name,p.app_type) appName,p.app_type appType,p.link_num linkNum, p.packets packets, p.GByte GByte FROM (
SELECT app_type,SUM(link_num) AS link_num,SUM(c2s_pkt_num+s2c_pkt_num) AS packets,
(SUM(c2s_byte_len+s2c_byte_len)/1024/1024/1024) AS GByte
(SUM(c2s_byte_len+s2c_byte_len)/300/1024/1024/1024) AS GByte
FROM traffic_app_statistic WHERE
<if test="beginTime==null or endTime==null">
stat_time > DATE_SUB(#{statTime},INTERVAL 1 HOUR)