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
be9563a8
Commit
be9563a8
authored
Jan 13, 2023
by
KeYong
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop_dl_plan6' of
http://39.98.45.134:8090/moa/amos-boot-biz
into develop_dl_plan6
parents
464e21e0
d4721d3a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
FireFightingSystemMapper.xml
...ip/src/main/resources/mapper/FireFightingSystemMapper.xml
+5
-3
No files found.
amos-boot-system-equip/src/main/resources/mapper/FireFightingSystemMapper.xml
View file @
be9563a8
...
@@ -4116,7 +4116,7 @@
...
@@ -4116,7 +4116,7 @@
</select>
</select>
<select
id=
"selectAlarms"
resultType=
"java.lang.Integer"
>
<select
id=
"selectAlarms"
resultType=
"java.lang.Integer"
>
SELECT
SELECT
COUNT(1
)
SUM(index_true_num
)
FROM
FROM
wl_equipment_alarm_report_day report
wl_equipment_alarm_report_day report
LEFT JOIN f_fire_fighting_system s ON FIND_IN_SET( s.id, report.system_ids )
LEFT JOIN f_fire_fighting_system s ON FIND_IN_SET( s.id, report.system_ids )
...
@@ -4449,7 +4449,9 @@
...
@@ -4449,7 +4449,9 @@
LEFT JOIN wl_equipment_detail detail ON spec.equipment_detail_id = detail.id
LEFT JOIN wl_equipment_detail detail ON spec.equipment_detail_id = detail.id
LEFT JOIN wl_equipment equipment ON equipment.id =detail.equipment_id
LEFT JOIN wl_equipment equipment ON equipment.id =detail.equipment_id
left join f_fire_fighting_system s on FIND_IN_SET(s.id,spec.system_id)
left join f_fire_fighting_system s on FIND_IN_SET(s.id,spec.system_id)
where spec.system_id = #{systemId} AND equipment.is_iot = 1
where
FIND_IN_SET(#{systemId},spec.system_id)
AND equipment.is_iot = 1
GROUP BY code,s.id, name ORDER BY system_id, code ) a) as a1
GROUP BY code,s.id, name ORDER BY system_id, code ) a) as a1
GROUP BY a1.system_id
GROUP BY a1.system_id
) as b
) as b
...
@@ -5628,7 +5630,7 @@
...
@@ -5628,7 +5630,7 @@
<if
test=
"systemCode != null and systemCode != ''"
>
<if
test=
"systemCode != null and systemCode != ''"
>
AND fs.system_type_code = #{systemCode}
AND fs.system_type_code = #{systemCode}
</if>
</if>
GROUP BY
det
.`code`
GROUP BY
wle
.`code`
</select>
</select>
<select
id=
"getFireSystemEquipStatusList"
resultType=
"java.util.Map"
>
<select
id=
"getFireSystemEquipStatusList"
resultType=
"java.util.Map"
>
...
...
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