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
172ef7aa
Commit
172ef7aa
authored
Jan 11, 2024
by
李秀明
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 消防水源接口新增返回字段
parent
0fb01e9a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
13 deletions
+23
-13
EquipmentSpecificMapper.xml
...uip/src/main/resources/mapper/EquipmentSpecificMapper.xml
+23
-13
No files found.
amos-boot-system-equip/src/main/resources/mapper/EquipmentSpecificMapper.xml
View file @
172ef7aa
...
...
@@ -2587,19 +2587,24 @@
wes.value_label valueLabel,
wes.realtime_iot_es_index_id realtimeIotSpecificIndexId,
wes.realtime_iot_index_update_date realtiemIotIndexUpdateDate,
wes.realtime_iot_index_id realtimeIotIndexId
wes.realtime_iot_index_id realtimeIotIndexId,
wes.equip_status equipStatus,
ec.name categoryName
FROM
wl_equipment_specific wes
<where>
<if
test=
"list != null and list.length > 0"
>
<foreach
collection=
"list"
item=
"item"
index=
"index"
open=
"("
close=
")"
separator=
"OR"
>
wes.id = #{item}
</foreach>
</if>
<if
test=
"bizOrgCode != null and bizOrgCode != ''"
>
and wes.biz_org_code LIKE concat(#{bizOrgCode}, '%')
</if>
</where>
LEFT JOIN wl_equipment_detail wed ON wed.id = wes.equipment_detail_id
LEFT JOIN wl_equipment e ON e.id = wed.equipment_id
LEFT JOIN wl_equipment_category ec on ec.id = e.category_id
<where>
<if
test=
"list != null and list.length > 0"
>
<foreach
collection=
"list"
item=
"item"
index=
"index"
open=
"("
close=
")"
separator=
"OR"
>
wes.id = #{item}
</foreach>
</if>
<if
test=
"bizOrgCode != null and bizOrgCode != ''"
>
and wes.biz_org_code LIKE concat(#{bizOrgCode}, '%')
</if>
</where>
</select>
<select
id=
"getListByCode"
resultType=
"Map"
>
...
...
@@ -2615,9 +2620,14 @@
wes.value_label valueLabel,
wes.realtime_iot_es_index_id realtimeIotSpecificIndexId,
wes.realtime_iot_index_update_date realtiemIotIndexUpdateDate,
wes.realtime_iot_index_id realtimeIotIndexId
wes.realtime_iot_index_id realtimeIotIndexId,
wes.equip_status equipStatus,
ec.name categoryName
FROM
wl_equipment_specific wes
wl_equipment_specific wes
LEFT JOIN wl_equipment_detail wed ON wed.id = wes.equipment_detail_id
LEFT JOIN wl_equipment e ON e.id = wed.equipment_id
LEFT JOIN wl_equipment_category ec on ec.id = e.category_id
<where>
<if
test=
"code != null and code != ''"
>
wes.equipment_code = #{code}
...
...
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