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
3078e08a
Commit
3078e08a
authored
Dec 17, 2021
by
maoying
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'developer' of
http://172.16.10.76/moa/amos-boot-biz
into developer
parents
8593afa9
d505f2fd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
32 additions
and
27 deletions
+32
-27
FireFightingSystemMapper.xml
...ip/src/main/resources/mapper/FireFightingSystemMapper.xml
+32
-27
No files found.
amos-boot-system-equip/src/main/resources/mapper/FireFightingSystemMapper.xml
View file @
3078e08a
...
@@ -219,34 +219,39 @@
...
@@ -219,34 +219,39 @@
</if>
</if>
<if
test=
"id == null"
>
<if
test=
"id == null"
>
union all
union all
select
SELECT
'component' as template,
'component' AS template,
true as openStatus,
TRUE AS openStatus,
if(sou.id is null,0,1) as isBinding,
IF
if(vid.code is null,vid.name,concat(vid.name,'(',vid.code,')')) as displayName,
(
'{\"width\": 42, \"height\": 42}'as initStyle,
( SELECT ss.id FROM wl_source_scene ss WHERE ss.video_in_scene LIKE CONCAT( '%', vid.id, '%' ) ) IS NULL,
'CommonEquip' as componentName,
0,
vid.id as sequenceNbr,
1
'equipment' as componentKey,
) AS isBinding,
'video' as `key`,
IF
img as imgPath,
( vid.CODE IS NULL, vid.NAME, concat( vid.NAME, '(', vid.CODE, ')' ) ) AS displayName,
vid.code as equipCode,
'{\"width\": 42, \"height\": 42}' AS initStyle,
vis.source_id as parentId,
'CommonEquip' AS componentName,
vid.id as equipId,
vid.id AS sequenceNbr,
vid.code as categoryCode,
'equipment' AS componentKey,
vid.name as equipName,
'video' AS `key`,
'' as equipSyetemId,
img AS imgPath,
'' as iotCode,
vid.CODE AS equipCode,
'1000000000000000'as groupId,
vis.source_id AS parentId,
'监控摄像' as groupName,
vid.id AS equipId,
url as ip ,
vid.CODE AS categoryCode,
vid.NAME AS equipName,
'' AS equipSyetemId,
'' AS iotCode,
'1000000000000000' AS groupId,
'监控摄像' AS groupName,
url AS ip,
token,
token,
stru.full_name as address
stru.full_name AS address
from
FROM
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_source_scene as sou on sou.video_in_scene like CONCAT('%',vid.id ,'%' )
JOIN wl_warehouse_structure AS stru ON stru.id = vis.source_id
join wl_warehouse_structure as stru on stru.id = sou.source_id
</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