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
c0ae476d
Commit
c0ae476d
authored
Dec 17, 2022
by
maoying
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改排油系统数据查询
parent
b0fa47e2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
52 deletions
+4
-52
EmergencyMapper.xml
...ystem-equip/src/main/resources/mapper/EmergencyMapper.xml
+4
-52
No files found.
amos-boot-system-equip/src/main/resources/mapper/EmergencyMapper.xml
View file @
c0ae476d
...
...
@@ -222,19 +222,7 @@
WHERE wesi.equipment_specific_id = wes.id AND wesi.equipment_index_key = wes.realtime_iot_index_key) as level,
wes.equipment_code as code ,
wes.name,
IFNULL(
(
SELECT
wesi.equipment_index_name
FROM
wl_equipment_specific_index wesi
WHERE
wesi.equipment_specific_id = wes.id
AND wesi.is_alarm = 1 AND wesi.`value` is not NULL
ORDER BY
wesi.update_date DESC
LIMIT 1
),
IFNULL(wes.realtime_iot_index_name,
'--'
) AS status,
CASE
...
...
@@ -258,19 +246,7 @@
WHERE wesi.equipment_specific_id = wes.id AND wesi.equipment_index_key = wes.realtime_iot_index_key) as level,
wes.equipment_code as code ,
wes.name,
IFNULL(
(
SELECT
wesi.equipment_index_name
FROM
wl_equipment_specific_index wesi
WHERE
wesi.equipment_specific_id = wes.id
AND wesi.is_alarm = 1 AND wesi.`value` is not NULL
ORDER BY
wesi.update_date DESC
LIMIT 1
),
IFNULL(wes.realtime_iot_index_name,
'--'
) AS status,
CASE
...
...
@@ -295,19 +271,7 @@
WHERE wesi.equipment_specific_id = wes.id AND wesi.equipment_index_key = wes.realtime_iot_index_key) as level,
wes.equipment_code as code ,
wes.name,
IFNULL(
(
SELECT
wesi.equipment_index_name
FROM
wl_equipment_specific_index wesi
WHERE
wesi.equipment_specific_id = wes.id
AND wesi.is_alarm = 1 AND wesi.`value` is not NULL
ORDER BY
wesi.update_date DESC
LIMIT 1
),
IFNULL(wes.realtime_iot_index_name,
'--'
) AS status,
CASE
...
...
@@ -332,19 +296,7 @@
WHERE wesi.equipment_specific_id = wes.id AND wesi.equipment_index_key = wes.realtime_iot_index_key) as level,
wes.equipment_code as code ,
wes.name,
IFNULL(
(
SELECT
wesi.equipment_index_name
FROM
wl_equipment_specific_index wesi
WHERE
wesi.equipment_specific_id = wes.id
AND wesi.is_alarm = 1 AND wesi.`value` is not NULL
ORDER BY
wesi.update_date DESC
LIMIT 1
),
IFNULL(wes.realtime_iot_index_name,
'--'
) AS status,
CASE
...
...
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