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
4d893d32
Commit
4d893d32
authored
Aug 27, 2024
by
litengwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
【中心级】一张图全景监控>设备管理>消防水池>二级页面,水池列表查询接口报错
parent
648ca99a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
FireFightingSystemMapper.xml
...ip/src/main/resources/mapper/FireFightingSystemMapper.xml
+2
-4
No files found.
amos-boot-system-equip/src/main/resources/mapper/FireFightingSystemMapper.xml
View file @
4d893d32
...
@@ -5119,7 +5119,6 @@
...
@@ -5119,7 +5119,6 @@
from
from
wl_equipment_specific_index ei
wl_equipment_specific_index ei
where
where
-- or ei.equipment_index_key = 'FHS_WirelessliquidDetector_WaterLevel' 此处由于单位会出现多个,所以无法确定选择哪一个,所以此处默认用一个指标的单位进行单位换算
(ei.equipment_index_key = 'FHS_FirePoolDevice_WaterLevel' or ei.equipment_index_key = 'FHS_WirelessliquidDetector_WaterLevel')
(ei.equipment_index_key = 'FHS_FirePoolDevice_WaterLevel' or ei.equipment_index_key = 'FHS_WirelessliquidDetector_WaterLevel')
and FIND_IN_SET( ei.equipment_specific_id, rp.level_device_id) > 0 limit 1) AS 'unit',
and FIND_IN_SET( ei.equipment_specific_id, rp.level_device_id) > 0 limit 1) AS 'unit',
IFNULL( rp.volume, 0 ) AS volume,
IFNULL( rp.volume, 0 ) AS volume,
...
@@ -5279,7 +5278,7 @@
...
@@ -5279,7 +5278,7 @@
c.`status` = #{status}
c.`status` = #{status}
</if>
</if>
</where>
</where>
<if
test=
"sortFlag != null and
sortFlag != '' and sortFlag
= '1'"
>
<if
test=
"sortFlag != null and
sortFlag =
= '1'"
>
<choose>
<choose>
<when
test=
"sortOrder == 'ascend'"
>
<when
test=
"sortOrder == 'ascend'"
>
ORDER BY CONVERT(c.bizOrgName USING gbk) ASC
ORDER BY CONVERT(c.bizOrgName USING gbk) ASC
...
@@ -5289,7 +5288,7 @@
...
@@ -5289,7 +5288,7 @@
</otherwise>
</otherwise>
</choose>
</choose>
</if>
</if>
<if
test=
"sortFlag != null and
sortFlag != '' and sortFlag
= '2'"
>
<if
test=
"sortFlag != null and
sortFlag =
= '2'"
>
<choose>
<choose>
<when
test=
"sortOrder == 'ascend'"
>
<when
test=
"sortOrder == 'ascend'"
>
ORDER BY d.eligibility ASC
ORDER BY d.eligibility ASC
...
@@ -5394,7 +5393,6 @@
...
@@ -5394,7 +5393,6 @@
from
from
wl_equipment_specific_index ei
wl_equipment_specific_index ei
where
where
-- or ei.equipment_index_key = 'FHS_WirelessliquidDetector_WaterLevel' 此处由于单位会出现多个,所以无法确定选择哪一个,所以此处默认用一个指标的单位进行单位换算
(ei.equipment_index_key = 'FHS_FirePoolDevice_WaterLevel' or ei.equipment_index_key =
(ei.equipment_index_key = 'FHS_FirePoolDevice_WaterLevel' or ei.equipment_index_key =
'FHS_WirelessliquidDetector_WaterLevel')
'FHS_WirelessliquidDetector_WaterLevel')
and FIND_IN_SET( ei.equipment_specific_id, rp.level_device_id) > 0 limit 1) AS 'unit',
and FIND_IN_SET( ei.equipment_specific_id, rp.level_device_id) > 0 limit 1) AS 'unit',
...
...
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