Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
YeeAmosFireAutoSysRoot
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
station
YeeAmosFireAutoSysRoot
Commits
288b2038
Commit
288b2038
authored
Dec 14, 2020
by
zhengjiawei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
实时监测
parent
7c2db75f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
dbTemplate_fire_equip.xml
...rt/src/main/resources/db/mapper/dbTemplate_fire_equip.xml
+6
-2
No files found.
YeeAmosFireAutoSysStart/src/main/resources/db/mapper/dbTemplate_fire_equip.xml
View file @
288b2038
...
@@ -159,11 +159,12 @@
...
@@ -159,11 +159,12 @@
SELECT
SELECT
det.`name` as fireEquipmentName,
det.`name` as fireEquipmentName,
spe.`code` as fireEquipmentCode,
spe.`code` as fireEquipmentCode,
ein.name,
ein.name
as eq_point_name
,
CASE ind.value WHEN 'true' THEN '是'
CASE ind.value WHEN 'true' THEN '是'
WHEN 'false' THEN '否'
WHEN 'false' THEN '否'
ELSE ind.value END 'e_value',
ELSE ind.value END 'e_value',
ein.unit,
ein.unit as eq_point_unit,
sce.name as source_name,
(
(
SELECT
SELECT
group_concat(DISTINCT f.`name`)
group_concat(DISTINCT f.`name`)
...
@@ -179,6 +180,9 @@
...
@@ -179,6 +180,9 @@
left join wl_equipment_specific as spe on spe.id = ind.equipment_specific_id
left join wl_equipment_specific as spe on spe.id = ind.equipment_specific_id
left join wl_equipment_detail as det on spe.equipment_detail_id = det.id
left join wl_equipment_detail as det on spe.equipment_detail_id = det.id
left join wl_equipment_index as ein on ind.equipment_index_id = ein.id
left join wl_equipment_index as ein on ind.equipment_index_id = ein.id
left join wl_stock_detail as sto on sto.qr_code = spe.qr_code
left join wl_warehouse_structure as str on sto.warehouse_structure_id = str.id
left join f_risk_source as sce on str.source_id = sce.id
) d
) d
WHERE
WHERE
1 = 1
1 = 1
...
...
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