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
df1e2af8
Commit
df1e2af8
authored
Feb 09, 2022
by
chenhao
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop_ccs' of
http://172.16.10.76/moa/amos-boot-biz
into develop_ccs
parents
6ede7950
ec9ddd7b
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
14 additions
and
20 deletions
+14
-20
BuildingTreeVo.java
...ava/com/yeejoin/equipmanage/common/vo/BuildingTreeVo.java
+0
-6
BuildingVideoController.java
...ejoin/equipmanage/controller/BuildingVideoController.java
+2
-2
AreaServiceImpl.java
...com/yeejoin/equipmanage/service/impl/AreaServiceImpl.java
+1
-1
BuildingServiceImpl.java
...yeejoin/equipmanage/service/impl/BuildingServiceImpl.java
+0
-0
FireFightingSystemMapper.xml
...ip/src/main/resources/mapper/FireFightingSystemMapper.xml
+10
-10
FormInstanceMapper.xml
...em-equip/src/main/resources/mapper/FormInstanceMapper.xml
+1
-1
No files found.
amos-boot-module/amos-boot-module-api/amos-boot-module-equip-api/src/main/java/com/yeejoin/equipmanage/common/vo/BuildingTreeVo.java
View file @
df1e2af8
...
...
@@ -5,12 +5,6 @@ import io.swagger.annotations.ApiModel;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
java.net.Inet4Address
;
import
java.net.InetAddress
;
import
java.net.NetworkInterface
;
import
java.net.SocketException
;
import
java.util.Enumeration
;
import
java.math.BigDecimal
;
import
java.util.List
;
/**
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-equip-biz/src/main/java/com/yeejoin/equipmanage/controller/BuildingVideoController.java
View file @
df1e2af8
...
...
@@ -35,14 +35,14 @@ public class BuildingVideoController extends AbstractBaseController {
IBuilldService
buildService
;
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@ApiOperation
(
"消防建筑视
屏
监控树"
)
@ApiOperation
(
"消防建筑视
频
监控树"
)
@GetMapping
(
value
=
"/tree"
)
public
List
<
BuildingTreeVo
>
getBuildingTree
()
{
return
buildService
.
getBuildingVideoTree
();
}
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@ApiOperation
(
"
消防建筑视屏监控树
"
)
@ApiOperation
(
"
物联监控->单位建筑树(视频节点数量)
"
)
@GetMapping
(
value
=
"/getBuildingVideoTree"
)
public
List
<
BuildingTreeVo
>
getBuildingVideoTree
()
{
return
buildService
.
getBuildingVideoTreeNew
();
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-equip-biz/src/main/java/com/yeejoin/equipmanage/service/impl/AreaServiceImpl.java
View file @
df1e2af8
...
...
@@ -279,7 +279,7 @@ public class AreaServiceImpl extends ServiceImpl<AreaMapper, Area> implements IA
}
private
List
<
UnitAreaTreeVo
>
getChildrenFromData
(
Long
parentId
,
List
<
UnitAreaTreeVo
>
areaTreeList
)
{
return
areaTreeList
.
stream
().
filter
(
a
->
a
.
getParentId
().
equals
(
parentId
)).
peek
(
e
->
e
.
setChildren
(
getChildrenFromData
(
e
.
getId
(),
areaTreeList
))).
collect
(
Collectors
.
toList
());
return
areaTreeList
.
stream
().
filter
(
a
->
parentId
.
equals
(
a
.
getParentId
()
)).
peek
(
e
->
e
.
setChildren
(
getChildrenFromData
(
e
.
getId
(),
areaTreeList
))).
collect
(
Collectors
.
toList
());
}
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-equip-biz/src/main/java/com/yeejoin/equipmanage/service/impl/BuildingServiceImpl.java
View file @
df1e2af8
This diff is collapsed.
Click to expand it.
amos-boot-system-equip/src/main/resources/mapper/FireFightingSystemMapper.xml
View file @
df1e2af8
...
...
@@ -663,13 +663,13 @@
<if
test=
"equipTypeAmountPage.iotCode!=null and equipTypeAmountPage.iotCode!=''"
>
AND wles.iot_code LIKE CONCAT('%',#{equipTypeAmountPage.iotCode},'%')
</if>
)s1
)s1
WHERE 1=1
<if
test=
"equipTypeAmountPage.warehouseStructureName!=null and equipTypeAmountPage.warehouseStructureName!=''"
>
where
s1.full_name LIKE CONCAT('%',#{equipTypeAmountPage.warehouseStructureName},'%')
AND
s1.full_name LIKE CONCAT('%',#{equipTypeAmountPage.warehouseStructureName},'%')
</if>
<if
test=
"equipTypeAmountPage.bizOrgCode!=null and equipTypeAmountPage.bizOrgCode!=''"
>
where
s1.bizOrgCode LIKE CONCAT(#{equipTypeAmountPage.bizOrgCode},'%')
AND
s1.bizOrgCode LIKE CONCAT(#{equipTypeAmountPage.bizOrgCode},'%')
</if>
...
...
@@ -745,7 +745,7 @@
</if>
)s2
<if
test=
"equipTypeAmountPage.warehouseStructureName!=null and equipTypeAmountPage.warehouseStructureName!=''"
>
where
s2.full_name LIKE CONCAT('%',#{equipTypeAmountPage.warehouseStructureName},'%')
AND
s2.full_name LIKE CONCAT('%',#{equipTypeAmountPage.warehouseStructureName},'%')
</if>
<if
test=
"equipTypeAmountPage.bizOrgCode!=null and equipTypeAmountPage.bizOrgCode!=''"
>
where s2.bizOrgCode LIKE CONCAT(#{equipTypeAmountPage.bizOrgCode},'%')
...
...
@@ -1844,13 +1844,13 @@ FROM
<if
test=
"equipTypeAmountPage.iotCode!=null and equipTypeAmountPage.iotCode!=''"
>
AND wles.iot_code LIKE CONCAT('%',#{equipTypeAmountPage.iotCode},'%')
</if>
)s1
)s1
WHERE 1=1
<if
test=
"equipTypeAmountPage.warehouseStructureName!=null and equipTypeAmountPage.warehouseStructureName!=''"
>
where
s1.full_name LIKE CONCAT('%',#{equipTypeAmountPage.warehouseStructureName},'%')
AND
s1.full_name LIKE CONCAT('%',#{equipTypeAmountPage.warehouseStructureName},'%')
</if>
<if
test=
"equipTypeAmountPage.bizOrgCode!=null and equipTypeAmountPage.bizOrgCode!=''"
>
where
s1.bizOrgCode LIKE CONCAT(#{equipTypeAmountPage.bizOrgCode},'%')
AND
s1.bizOrgCode LIKE CONCAT(#{equipTypeAmountPage.bizOrgCode},'%')
</if>
order by createDate DESC
</select>
...
...
@@ -1960,13 +1960,13 @@ FROM
<if
test=
"equipTypeAmountPage.iotCode!=null and equipTypeAmountPage.iotCode!=''"
>
AND wles.iot_code LIKE CONCAT('%',#{equipTypeAmountPage.iotCode},'%')
</if>
)s1
)s1
WHERE 1=1
<if
test=
"equipTypeAmountPage.warehouseStructureName!=null and equipTypeAmountPage.warehouseStructureName!=''"
>
where
s1.full_name LIKE CONCAT('%',#{equipTypeAmountPage.warehouseStructureName},'%')
and
s1.full_name LIKE CONCAT('%',#{equipTypeAmountPage.warehouseStructureName},'%')
</if>
<if
test=
"equipTypeAmountPage.bizOrgCode!=null and equipTypeAmountPage.bizOrgCode!=''"
>
where
s1.bizOrgCode LIKE CONCAT(#{equipTypeAmountPage.bizOrgCode},'%')
and
s1.bizOrgCode LIKE CONCAT(#{equipTypeAmountPage.bizOrgCode},'%')
</if>
...
...
amos-boot-system-equip/src/main/resources/mapper/FormInstanceMapper.xml
View file @
df1e2af8
...
...
@@ -502,7 +502,7 @@ WHERE
COUNT( vs.video_id ) AS total
FROM
get_building_tree b
LEFT JOIN wl_video_source vs ON FIND_IN_SET(
vs.source_id, getBuildChildIdsByRootId ( b.instanceId )
)
LEFT JOIN wl_video_source vs ON FIND_IN_SET(
b.instanceId, vs.parent_source_ids
)
GROUP BY
b.instanceId
</select>
...
...
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