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
d221e4d9
Commit
d221e4d9
authored
Jun 04, 2020
by
suhuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.修改过滤positon
parent
cb821db6
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
12 deletions
+14
-12
dbTemplate_view3d.xml
...sStart/src/main/resources/db/mapper/dbTemplate_view3d.xml
+14
-12
No files found.
YeeAmosFireAutoSysStart/src/main/resources/db/mapper/dbTemplate_view3d.xml
View file @
d221e4d9
...
...
@@ -1391,42 +1391,44 @@ from (select concat('riskSource',r.id) as id,r.name,r.code,r.ue4_location as ue4
id as pointId,
name,
type,
risk_source_id as regionId
risk_source_id as regionId,
position3d
from
(select id,name,'riskSource' as type, parent_id as risk_source_id
(select id,name,'riskSource' as type, parent_id as risk_source_id
,position3d
from f_risk_source where is_region = 'FALSE'
UNION all
select id,name,'patrol' as type,risk_source_id
select id,name,'patrol' as type,risk_source_id
,coordinates as position3d
from p_point WHERE is_delete = FALSE
UNION all
select id,name ,'impEquipment' as type,risk_source_id
select id,name ,'impEquipment' as type,risk_source_id
,position3d
from f_equipment e
UNION all
select id,name,'monitorEquipment' as type,risk_source_id
select id,name,'monitorEquipment' as type,risk_source_id
,position3d
from f_fire_equipment where equip_classify = 0
UNION all
select id,name,'video' as type,risk_source_id
select id,name,'video' as type,risk_source_id
,position3d
from f_fire_equipment where equip_classify = 2
UNION all
select id,name ,'hydrant' as type,risk_source_id
select id,name ,'hydrant' as type,risk_source_id
,position3d
from f_water_resource where type = 1
UNION all
select id,name,'pool' as type,risk_source_id
select id,name,'pool' as type,risk_source_id
,position3d
from f_water_resource where type = 2
UNION all
select id,name,'fireCar' as type,risk_source_id
select id,name,'fireCar' as type,risk_source_id
,position3d
from f_fire_car
UNION all
select id,name,'fireEquipment' as type,risk_source_id
select id,name,'fireEquipment' as type,risk_source_id
,position3d
from f_fire_equipment where equip_classify = 3
UNION all
select id,name,'fireChamber' as type,risk_source_id
select id,name,'fireChamber' as type,risk_source_id
,position3d
from f_fire_station where type = 2
UNION all
select id,name,'fireFoamRoom' as type,risk_source_id
select id,name,'fireFoamRoom' as type,risk_source_id
,position3d
from f_fire_station where type = 1
) as sp
where
position3d
<![CDATA[<>]]>
'' and
risk_source_id in
<foreach
collection=
"ids"
open=
"("
separator=
","
close=
")"
item=
"id"
>
#{id}
...
...
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