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
d1de75d5
Commit
d1de75d5
authored
Sep 02, 2025
by
梅存智
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
工作台发起总数SQL调整
parent
2ad1289d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
cloud-site-service/src/main/resources/mapper/EventTrackMapper.xml
+7
-4
No files found.
cloud-site-service/src/main/resources/mapper/EventTrackMapper.xml
View file @
d1de75d5
...
...
@@ -361,16 +361,18 @@
</select>
<select
id=
"queryTrainningNumBydeptId"
resultType=
"com.yizhi.site.application.vo.site.EventTrackTypeNumVo"
>
SELECT agm.group_id AS subType,count(DISTINCT tvr.
account
_id) AS num
FROM cloud_trainning_project.t
p_view_record
tvr
SELECT agm.group_id AS subType,count(DISTINCT tvr.
create_by
_id) AS num
FROM cloud_trainning_project.t
raining_project
tvr
INNER JOIN cloud_system.authz_group_member agm ON agm.member_id=tvr.org_id AND agm.deleted = 0
WHERE tvr.status=1 AND tvr.deleted=0
GROUP BY agm.group_id
</select>
<select
id=
"queryExamNumBydeptId"
resultType=
"com.yizhi.site.application.vo.site.EventTrackTypeNumVo"
>
SELECT agm.group_id AS subType,count(DISTINCT e.
account
_id) AS num
FROM cloud_exam.
tr_exam_online_read_over
e
SELECT agm.group_id AS subType,count(DISTINCT e.
create_by
_id) AS num
FROM cloud_exam.
exam
e
INNER JOIN cloud_system.authz_group_member agm ON agm.member_id=e.org_id AND agm.deleted = 0
WHERE e.state=2 AND
GROUP BY agm.group_id
</select>
</mapper>
\ No newline at end of file
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