Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
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
项目统一框架
amos-boot-biz
Commits
86f28452
Commit
86f28452
authored
Mar 05, 2025
by
张森
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
巡检产生预警存在部门数据,biz_org_code改为取前18位
parent
a9b2b122
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
EquipmentSpecificIndexMapper.xml
...rc/main/resources/mapper/EquipmentSpecificIndexMapper.xml
+2
-2
No files found.
amos-boot-system-equip/src/main/resources/mapper/EquipmentSpecificIndexMapper.xml
View file @
86f28452
...
@@ -505,7 +505,7 @@
...
@@ -505,7 +505,7 @@
SELECT
SELECT
IFNULL( IF ( sum( IF ( ppt.finish_status = '2', 1, 0 ) ) > 0, 1, 0 ), 0 ) AS isFinishOnce,
IFNULL( IF ( sum( IF ( ppt.finish_status = '2', 1, 0 ) ) > 0, 1, 0 ), 0 ) AS isFinishOnce,
IFNULL( sum( 1 ), 0 ) AS taskNum,
IFNULL( sum( 1 ), 0 ) AS taskNum,
pp.biz_org_code
bizOrgCode,
LEFT(pp.biz_org_code, 18)
bizOrgCode,
pp.biz_org_name bizOrgName,
pp.biz_org_name bizOrgName,
ppt.plan_name planName,
ppt.plan_name planName,
(
(
...
@@ -518,7 +518,7 @@
...
@@ -518,7 +518,7 @@
`p_plan_task` ppt
`p_plan_task` ppt
LEFT JOIN `p_plan` pp ON pp.id = ppt.plan_id
LEFT JOIN `p_plan` pp ON pp.id = ppt.plan_id
where ppt.check_date = DATE_FORMAT( now(), '%Y-%m-%d' ) and pp.biz_org_code is not null and ppt.plan_id is not null
where ppt.check_date = DATE_FORMAT( now(), '%Y-%m-%d' ) and pp.biz_org_code is not null and ppt.plan_id is not null
GROUP BY
biz_org_code
GROUP BY
LEFT(pp.biz_org_code, 18)
</select>
</select>
<select
id=
"getEquipIndexInIndex"
resultType=
"com.yeejoin.equipmanage.common.entity.EquipmentSpecificIndex"
>
<select
id=
"getEquipIndexInIndex"
resultType=
"com.yeejoin.equipmanage.common.entity.EquipmentSpecificIndex"
>
SELECT
SELECT
...
...
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