Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
smart_gov_platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
smart_gov_platform
Commits
9dd2b875
Commit
9dd2b875
authored
May 22, 2025
by
廖旭伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
事件分析返回值增加事件总数
parent
5d0b19c1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
portal-manager/src/main/java/com/mortals/xhx/module/page/model/vo/PageEventCensusVo.java
...m/mortals/xhx/module/page/model/vo/PageEventCensusVo.java
+2
-0
portal-manager/src/main/resources/sqlmap/module/page/PageEventMapperExt.xml
.../main/resources/sqlmap/module/page/PageEventMapperExt.xml
+2
-1
No files found.
portal-manager/src/main/java/com/mortals/xhx/module/page/model/vo/PageEventCensusVo.java
View file @
9dd2b875
...
...
@@ -24,4 +24,6 @@ public class PageEventCensusVo {
* 事件平均耗时(单位毫秒)
*/
private
Float
takeTimeAvg
;
private
Integer
total
;
}
portal-manager/src/main/resources/sqlmap/module/page/PageEventMapperExt.xml
View file @
9dd2b875
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment