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
18f56a4e
Commit
18f56a4e
authored
Feb 02, 2021
by
maoying
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改三维屏故障初始化接口
parent
f07f00f7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
13 deletions
+14
-13
dbTemplate_equipment_specific_index.xml
...sources/db/mapper/dbTemplate_equipment_specific_index.xml
+14
-13
No files found.
YeeAmosFireAutoSysStart/src/main/resources/db/mapper/dbTemplate_equipment_specific_index.xml
View file @
18f56a4e
...
...
@@ -61,9 +61,10 @@
</select>
<select
id=
"getInitAlarm"
resultType=
"com.yeejoin.amos.fas.business.vo.EquipmentSpecificIndexVo"
>
SELECT
wed.id,
wes.id,
wes.id as equipmentSpecificId,
wed.`name`,
we
d
.`code`,
we
s
.`code`,
wei.name_key,
wei.`name` AS equipmentIndexName,
wsi.`value`,
...
...
@@ -73,17 +74,17 @@
LEFT JOIN wl_equipment_index wei ON wsi.equipment_index_id = wei.id
LEFT JOIN wl_equipment_specific wes ON wsi.equipment_specific_id = wes.id
LEFT JOIN wl_equipment_detail wed ON wed.id = wes.equipment_detail_id
<where>
<if
test=
"value != null and value != ''"
>
AND wsi.`value` = #{value}
</if>
<if
test=
"list != null and list.length > 0"
>
AND
<foreach
collection=
"list"
item=
"item"
index=
"index"
open=
"("
close=
")"
separator=
"OR"
>
wei.name_key = #{item}
</foreach>
</if
>
</where
>
where
wei.is_iot = 1
<if
test=
"value != null and value != ''"
>
AND wsi.`value` = #{value}
</if
>
<if
test=
"list != null and list.length > 0"
>
AND
<foreach
collection=
"list"
item=
"item"
index=
"index"
open=
"("
close=
")"
separator=
"OR"
>
wei.name_key = #{item}
</foreach
>
</if
>
GROUP BY
wsi.equipment_specific_id
ORDER BY
...
...
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