Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
site-project
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hqzhdj
site-project
Commits
85b4033f
Commit
85b4033f
authored
Sep 05, 2025
by
“Kongxiangkun”
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加面板排行榜接口
parent
57415bae
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
cloud-site-service/src/main/resources/mapper/EventTrackMapper.xml
+2
-2
No files found.
cloud-site-service/src/main/resources/mapper/EventTrackMapper.xml
View file @
85b4033f
...
...
@@ -381,7 +381,7 @@
select dept_name as name, count(*) as num from event_track e where
type in ('9', '13') and dept_name is not null
<if
test=
"date==3"
>
and DATE_FORMAT(e.create_time, '%Y-%m-%d') =
DATE_SUB(DATE_FORMAT(#{dateString}, '%Y-%m-%d'), INTERVAL 1 DAY)
and DATE_FORMAT(e.create_time, '%Y-%m-%d') =
#{dateString}
</if>
<if
test=
"date==2"
>
and DATE_FORMAT(e.create_time, '%Y-%m') = #{dateString}
...
...
@@ -397,7 +397,7 @@
select create_by_id as create_by_id, count(*) as num from event_track e where
type in ('9', '13')
<if
test=
"date==3"
>
and DATE_FORMAT(e.create_time, '%Y-%m-%d') =
DATE_SUB(DATE_FORMAT(#{dateString}, '%Y-%m-%d'), INTERVAL 1 DAY)
and DATE_FORMAT(e.create_time, '%Y-%m-%d') =
#{dateString}
</if>
<if
test=
"date==2"
>
and DATE_FORMAT(e.create_time, '%Y-%m') = #{dateString}
...
...
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