Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
Z
zlmy-cloud
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zlmy
zlmy-cloud
Commits
f9d07f18
Commit
f9d07f18
authored
Dec 09, 2025
by
鲁鸿波
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
首页危险作业统计数据从系统中统计
parent
b35436bc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
THazardWorkPlan.xml
...boot/src/main/resources/mapper/hazard/THazardWorkPlan.xml
+1
-1
No files found.
zlmy-modules/zlmy-boot/src/main/resources/mapper/hazard/THazardWorkPlan.xml
View file @
f9d07f18
...
...
@@ -132,7 +132,7 @@
o.org_id id,
o.org_name name,
COALESCE(SUM(CASE WHEN h.work_status = '5' THEN 1 ELSE 0 END), 0) as done,
COALESCE(SUM(CASE WHEN h.work_status NOT IN ('0','6','
12','
5') THEN 1 ELSE 0 END), 0) as undone
COALESCE(SUM(CASE WHEN h.work_status NOT IN ('0','6','5') THEN 1 ELSE 0 END), 0) as undone
FROM t_sys_org o
LEFT JOIN t_hazard_work_plan h ON o.org_id = h.org_id
AND h.status = '0'
...
...
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