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
11819c85
Commit
11819c85
authored
Jun 25, 2025
by
xixinzhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
告警列表无系统展示其他,统计无系统分到其他分类
parent
28b06521
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
6 deletions
+10
-6
EmergencyMapper.xml
...ystem-equip/src/main/resources/mapper/EmergencyMapper.xml
+5
-2
FireFightingSystemMapper.xml
...ip/src/main/resources/mapper/FireFightingSystemMapper.xml
+5
-4
No files found.
amos-boot-system-equip/src/main/resources/mapper/EmergencyMapper.xml
View file @
11819c85
...
...
@@ -1524,7 +1524,7 @@
wlesa.location,
date_format( wlesa.create_date, '%Y-%m-%d %H:%i:%s' ) createDate,
wlesa.emergency_level_describe AS emergencyLevelDescribe,
fs.NAME
AS systemName
IFNULL(fs.NAME, '其他系统')
AS systemName
FROM
wl_equipment_specific_alarm_log wlesa
LEFT JOIN wl_equipment_specific wes ON wes.id = wlesa.equipment_specific_id
...
...
@@ -1547,9 +1547,12 @@
<if
test=
"systemCode != null and systemCode != ''"
>
and fs.code = #{systemCode}
</if>
<if
test=
"systemType != null and systemType != ''"
>
<if
test=
"systemType != null and systemType != ''
and systemType != 'outher'
"
>
and fs.system_type = #{systemType}
</if>
<if
test=
"systemType != null and systemType == 'outher'"
>
and fs.system_type_code IS NULL
</if>
<if
test=
"name != null and name != ''"
>
and wlesa.equipment_specific_name like concat('%', #{name},'%')
</if>
...
...
amos-boot-system-equip/src/main/resources/mapper/FireFightingSystemMapper.xml
View file @
11819c85
...
...
@@ -7310,15 +7310,16 @@
<select
id=
"getSystemAlarmNum"
resultType=
"Map"
>
SELECT
fs.system_type
AS `key`,
SUM(IF(
wlesal.`status` IS NOT NULL, 1, 0
)) AS `value`,
wlec.`name`
AS `name`
IFNULL(fs.system_type, 'outher')
AS `key`,
SUM(IF(
wlesal.`status` IS NOT NULL, 1, 0
)) AS `value`,
IFNULL(wlec.`name`, '其他系统')
AS `name`
FROM
wl_equipment_specific_alarm_log wlesal
LEFT JOIN f_fire_fighting_system fs ON FIND_IN_SET( fs.id, wlesal.system_ids )
<![CDATA[<>]]>
0
LEFT JOIN wl_equipment_category wlec ON fs.system_type = wlec.id
<where>
fs.system_type_code IS NOT NULL
1 = 1
-- fs.system_type_code IS NOT NULL
<if
test=
"bizOrgCode!=null and bizOrgCode!=''"
>
AND wlesal.biz_org_code LIKE CONCAT(#{bizOrgCode},'%')
</if>
...
...
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