Commit 9dd2b875 authored by 廖旭伟's avatar 廖旭伟

事件分析返回值增加事件总数

parent 5d0b19c1
......@@ -24,4 +24,6 @@ public class PageEventCensusVo {
* 事件平均耗时(单位毫秒)
*/
private Float takeTimeAvg;
private Integer total;
}
......@@ -8,7 +8,8 @@
t.eventCode,
t.eventName,
FLOOR(count(id)/(DATEDIFF(MAX(t.createTime),MIN(t.createTime))+1)) as dayAvg,
FORMAT(AVG(t.takeTime)/1000,2) as takeTimeAvg
FORMAT(AVG(t.takeTime)/1000,2) as takeTimeAvg,
count(id) as total
FROM
mortals_xhx_page_event t
WHERE
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment