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
947f1bb4
Commit
947f1bb4
authored
May 23, 2022
by
chenzhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改代码
parent
22f0d9c3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
1 deletion
+19
-1
FireFightingSystemMapper.xml
...ip/src/main/resources/mapper/FireFightingSystemMapper.xml
+19
-1
No files found.
amos-boot-system-equip/src/main/resources/mapper/FireFightingSystemMapper.xml
View file @
947f1bb4
...
@@ -219,7 +219,16 @@
...
@@ -219,7 +219,16 @@
join wl_equipment as equ on eqdet.equipment_id = equ.id
join wl_equipment as equ on eqdet.equipment_id = equ.id
join wl_equipment_category as cat on equ.category_id = cat.id
join wl_equipment_category as cat on equ.category_id = cat.id
where det.amount > 0
where det.amount > 0
and spe.single = true) as da
and spe.single = true
<if
test=
"instanceId != null and instanceId !=''"
>
and stru.id IN
( select id from wl_warehouse_structure where parent_id in(
select id from wl_warehouse_structure where parent_id = #{instanceId})
union
select id from wl_warehouse_structure where parent_id = #{instanceId}or
id = #{instanceId} )
</if>
) as da
<if
test=
"id != null and id !=''"
>
<if
test=
"id != null and id !=''"
>
where find_in_set(#{id}, da.equipSyetemId)
where find_in_set(#{id}, da.equipSyetemId)
</if>
</if>
...
@@ -253,6 +262,15 @@
...
@@ -253,6 +262,15 @@
wl_video AS vid
wl_video AS vid
JOIN wl_video_source AS vis ON vid.id = vis.video_id
JOIN wl_video_source AS vis ON vid.id = vis.video_id
JOIN wl_warehouse_structure AS stru ON stru.id = vis.source_id
JOIN wl_warehouse_structure AS stru ON stru.id = vis.source_id
WHERE
stru.id IN
(
select id from wl_warehouse_structure where parent_id in(
select id from wl_warehouse_structure where parent_id = #{instanceId})
union
select id from wl_warehouse_structure where parent_id = #{instanceId}or
id = #{instanceId}
)
</if>
</if>
</select>
</select>
<select
id=
"get3dPointData"
resultType=
"com.yeejoin.equipmanage.common.entity.vo.PointTreeVo"
>
<select
id=
"get3dPointData"
resultType=
"com.yeejoin.equipmanage.common.entity.vo.PointTreeVo"
>
...
...
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