流量统计httpsql 查询中不规范聚合函数sql修改
This commit is contained in:
@@ -20,7 +20,7 @@
|
|||||||
SELECT MAX(stat_time) statTime FROM traffic_http_statistic WHERE web_id != 0
|
SELECT MAX(stat_time) statTime FROM traffic_http_statistic WHERE web_id != 0
|
||||||
</select>
|
</select>
|
||||||
<!-- 根据服务网站将域名分类 网站列表-->
|
<!-- 根据服务网站将域名分类 网站列表-->
|
||||||
<select id="getDomainByWebsiteList" resultType="com.nis.domain.restful.dashboard.TrafficHttpStatistic">
|
<select id="getDomainByWebsiteList" resultType="com.nis.domain.restful.dashboard.TrafficHttpStatistic">
|
||||||
SELECT SUM(link_num) count, IFNULL( website_service_id, 268435455 ) websiteServiceId
|
SELECT SUM(link_num) count, IFNULL( website_service_id, 268435455 ) websiteServiceId
|
||||||
FROM TRAFFIC_HTTP_STATISTIC t
|
FROM TRAFFIC_HTTP_STATISTIC t
|
||||||
LEFT JOIN ui_website_domain_topic u ON t.web_id = u.id
|
LEFT JOIN ui_website_domain_topic u ON t.web_id = u.id
|
||||||
|
|||||||
Reference in New Issue
Block a user