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
c627bbdf
Commit
c627bbdf
authored
Mar 01, 2022
by
suhuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.漏提交
parent
35c1771b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
27 additions
and
33 deletions
+27
-33
Building.xml
...-boot-system-equip/src/main/resources/mapper/Building.xml
+0
-31
EquipmentSpecificMapper.xml
...uip/src/main/resources/mapper/EquipmentSpecificMapper.xml
+15
-0
VideoMapper.xml
...ot-system-equip/src/main/resources/mapper/VideoMapper.xml
+12
-2
No files found.
amos-boot-system-equip/src/main/resources/mapper/Building.xml
View file @
c627bbdf
...
@@ -135,37 +135,6 @@
...
@@ -135,37 +135,6 @@
select video_in_scene from wl_source_scene where scene_id =#{id}
select video_in_scene from wl_source_scene where scene_id =#{id}
</select>
</select>
<select
id=
"getEquipBySceneId"
resultMap=
"EquiplistBySystemId"
>
SELECT
spe.id,
det.NAME equipment_name,
spe.CODE,
wlec.NAME AS category_name
FROM
wl_equipment_specific AS spe
LEFT JOIN wl_equipment_detail AS det ON spe.equipment_detail_id = det.id
LEFT JOIN wl_equipment AS wle ON wle.id = det.equipment_id
LEFT JOIN wl_equipment_category AS wlec ON wlec.id = wle.category_id
WHERE
spe.id in
<foreach
item=
"item"
collection=
"ids"
separator=
","
open=
"("
close=
")"
index=
""
>
#{item}
</foreach>
</select>
<select
id=
"getVideoBySceneId"
resultMap=
"EquiplistBySystemId"
>
SELECT
id,
name equipment_name,
code,
name AS category_name
FROM
wl_video
WHERE
id in
<foreach
item=
"item"
collection=
"ids"
separator=
","
open=
"("
close=
")"
index=
""
>
#{item}
</foreach>
</select>
<select
id=
"getScenesList"
resultType=
"com.yeejoin.equipmanage.common.entity.SourceScene"
>
<select
id=
"getScenesList"
resultType=
"com.yeejoin.equipmanage.common.entity.SourceScene"
>
select
select
ins.instance_id as id,
ins.instance_id as id,
...
...
amos-boot-system-equip/src/main/resources/mapper/EquipmentSpecificMapper.xml
View file @
c627bbdf
...
@@ -1482,4 +1482,18 @@
...
@@ -1482,4 +1482,18 @@
f_station_info
f_station_info
LIMIT 1
LIMIT 1
</select>
</select>
<select
id=
"getListByWarehouseStructureId"
resultType=
"com.yeejoin.equipmanage.common.entity.vo.EquiplistSpecificBySystemVO"
>
SELECT
spe.id,
spe.name equipment_name,
spe.code,
wlec.name AS category_name
FROM
wl_equipment_specific AS spe
LEFT JOIN wl_equipment AS wle ON spe.equipment_code = wle.code
LEFT JOIN wl_equipment_category AS wlec ON wlec.id = wle.category_id
WHERE
spe.warehouse_structure_id =#{floorId}
</select>
</mapper>
</mapper>
\ No newline at end of file
amos-boot-system-equip/src/main/resources/mapper/VideoMapper.xml
View file @
c627bbdf
...
@@ -377,6 +377,16 @@
...
@@ -377,6 +377,16 @@
wl_video as wlv
wl_video as wlv
where wlv.code = #{code}
where wlv.code = #{code}
</select>
</select>
<select
id=
"selectListBySourceId"
resultType=
"com.yeejoin.equipmanage.common.entity.Video"
>
select
v.id,
v.code,
v.name,
v.type
from
wl_video v,
wl_video_source vs
where vs.source_id = #{floorId}
and vs.video_id = v.id
</select>
</mapper>
</mapper>
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