流量统计app.协议。域名增加多条件查询,主题统计series中算法第二级数据增加排序功能,保证界面数据规律排序

This commit is contained in:
zhanghongqing
2018-12-22 23:01:37 +08:00
parent 007e8e14bf
commit 27b18c9901
8 changed files with 57 additions and 27 deletions

View File

@@ -127,7 +127,10 @@ FROM
sum(c2s_pkt_num + s2c_pkt_num) pktCount from traffic_http_focus_statistic t where
<![CDATA[ stat_time>= #{beginDate} and stat_time< #{endDate}]]>
<if test="domain!=null">
and web_id=#{domain}
and web_id in
<foreach collection="domain" index="index" item="item" open="(" separator="," close=")">
#{item}
</foreach>
</if>
<if test="entranceId!=null">
and entrance_id=#{entranceId}