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
5e1ae2c4
Commit
5e1ae2c4
authored
Aug 18, 2022
by
chenzhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改代码
parent
914f75fe
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
3 deletions
+13
-3
VideoOnEquipmentSpecificVo.java
...oin/equipmanage/common/vo/VideoOnEquipmentSpecificVo.java
+1
-1
WarehouseStructureController.java
.../equipmanage/controller/WarehouseStructureController.java
+7
-0
EquipmentSpecificSerivceImpl.java
...quipmanage/service/impl/EquipmentSpecificSerivceImpl.java
+5
-2
No files found.
amos-boot-module/amos-boot-module-api/amos-boot-module-equip-api/src/main/java/com/yeejoin/equipmanage/common/vo/VideoOnEquipmentSpecificVo.java
View file @
5e1ae2c4
...
...
@@ -19,7 +19,7 @@ public class VideoOnEquipmentSpecificVo {
/**
* 设备ID
*/
private
L
ong
equipmentSpecificId
;
private
L
ist
<
Long
>
equipmentSpecificId
;
/**
* 摄像头Id集合
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-equip-biz/src/main/java/com/yeejoin/equipmanage/controller/WarehouseStructureController.java
View file @
5e1ae2c4
...
...
@@ -185,6 +185,13 @@ public class WarehouseStructureController extends AbstractBaseController {
return
iWarehouseStructureService
.
gettree
(
id
,
bizOrgCode
,
buildingId
);
}
@RequestMapping
(
value
=
"/gettreeNew/{id}"
,
method
=
RequestMethod
.
GET
)
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"树查询"
,
notes
=
"树查询"
)
public
List
<
WarehouseStructure
>
gettreeNew
(
@PathVariable
Long
id
,
String
bizOrgCode
)
{
return
iWarehouseStructureService
.
gettreeToPrent
(
id
,
bizOrgCode
);
}
/**
* 批量删除
*
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-equip-biz/src/main/java/com/yeejoin/equipmanage/service/impl/EquipmentSpecificSerivceImpl.java
View file @
5e1ae2c4
...
...
@@ -1712,9 +1712,10 @@ public class EquipmentSpecificSerivceImpl extends ServiceImpl<EquipmentSpecificM
@Override
public
Boolean
videoOnEquipmentSpecific
(
VideoOnEquipmentSpecificVo
videoOnEquipmentSpecificVo
)
{
L
ong
equipmentSpecificId
=
videoOnEquipmentSpecificVo
.
getEquipmentSpecificId
();
L
ist
<
Long
>
equipmentSpecificIds
=
videoOnEquipmentSpecificVo
.
getEquipmentSpecificId
();
List
<
Long
>
videoIdList
=
videoOnEquipmentSpecificVo
.
getVideoIdList
();
if
(
equipmentSpecificId
!=
null
)
{
if
(
equipmentSpecificIds
!=
null
)
{
for
(
Long
equipmentSpecificId
:
equipmentSpecificIds
)
{
EquipmentSpecific
equipmentSpecific
=
this
.
baseMapper
.
selectById
(
equipmentSpecificId
);
if
(!
ObjectUtils
.
isEmpty
(
equipmentSpecific
))
{
QueryWrapper
<
VideoEquipmentSpecific
>
queryWrapper
=
new
QueryWrapper
<>();
...
...
@@ -1736,9 +1737,11 @@ public class EquipmentSpecificSerivceImpl extends ServiceImpl<EquipmentSpecificM
}
else
{
throw
new
RuntimeException
(
"未获取到此设备!"
);
}
}
}
else
{
throw
new
RuntimeException
(
"设备ID为空!"
);
}
return
Boolean
.
TRUE
;
}
@Override
...
...
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