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
4748b806
Commit
4748b806
authored
Mar 13, 2025
by
wujiang
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop_dl_bugfix_0723' of…
Merge branch 'develop_dl_bugfix_0723' of
http://39.100.92.250:5000/moa/amos-boot-biz
into develop_dl_bugfix_0723
parents
79cc399d
822577b8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
9 deletions
+7
-9
EmergencyMapper.xml
...ystem-equip/src/main/resources/mapper/EmergencyMapper.xml
+7
-9
No files found.
amos-boot-system-equip/src/main/resources/mapper/EmergencyMapper.xml
View file @
4748b806
...
...
@@ -1504,10 +1504,8 @@
wlesa.id,
wlesa.biz_org_name AS bizOrgName,
concat( wlesa.equipment_specific_name, wlesa.equipment_specific_index_name ) AS alamContent,
IF
( wlesa.recovery_date IS NULL, '未确认', '已确认' ) handleStatus,
IF
( wlesa.`status` = 0, '已消除', '未消除' ) cleanStatus,
IF (wlesa.confirm_type IS NULL, '未确认', '已确认') handleStatus,
IF (wlesa.clean_time IS NOT NULL, '已消除', '未消除' ) cleanStatus,
wlesa.equipment_index_id AS fireEquipmentIndexId,
fs.CODE AS systemCode,
wlesa.equipment_specific_index_key AS fireEquipmentSpecificIndexKey,
...
...
@@ -1528,7 +1526,7 @@
wlesa.emergency_level_describe AS emergencyLevelDescribe,
fs.NAME AS systemName
FROM
wl_equipment_specific_alarm wlesa
wl_equipment_specific_alarm
_log
wlesa
LEFT JOIN wl_equipment_specific wes ON wes.id = wlesa.equipment_specific_id
LEFT JOIN f_fire_fighting_system fs ON FIND_IN_SET(fs.id, wlesa.system_ids)
<where>
...
...
@@ -1555,16 +1553,16 @@
and wlesa.equipment_specific_name like concat('%', #{name},'%')
</if>
<if
test=
"cleanStatus != null and cleanStatus != '' and cleanStatus == 2"
>
and wlesa.
status = 1
and wlesa.
clean_time IS NULL
</if>
<if
test=
"cleanStatus != null and cleanStatus != '' and cleanStatus == 1"
>
and wlesa.
status = 0
and wlesa.
clean_time IS NOT NULL
</if>
<if
test=
"handleStatus != null and handleStatus != '' and handleStatus == 2"
>
and wlesa.
recovery_dat
e IS NULL
and wlesa.
confirm_typ
e IS NULL
</if>
<if
test=
"handleStatus != null and handleStatus != '' and handleStatus == 1"
>
and wlesa.
recovery_dat
e IS NOT NULL
and wlesa.
confirm_typ
e IS NOT NULL
</if>
<if
test=
"types != null"
>
<foreach
collection=
"types"
index=
"index"
item=
"item"
open=
"and ("
separator=
" OR "
close=
")"
>
...
...
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