Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
cloud-fb
Overview
Overview
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
王衍超
cloud-fb
Commits
2368b719
Commit
2368b719
authored
May 18, 2021
by
高晓磊
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
camera工程添加production依赖
parent
52070fea
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
build.gradle
backend/xyst.dinas.camera/build.gradle
+1
-1
WatershedCameraPlayController.java
.../xyst/dinas/camera/web/WatershedCameraPlayController.java
+6
-1
No files found.
backend/xyst.dinas.camera/build.gradle
View file @
2368b719
...
@@ -20,7 +20,7 @@ dependencies {
...
@@ -20,7 +20,7 @@ dependencies {
compile
project
(
":inz.basis"
)
compile
project
(
":inz.basis"
)
compile
project
(
":inz.authentication"
)
compile
project
(
":inz.authentication"
)
compile
project
(
":xyst.dinas.biz"
)
compile
project
(
":xyst.dinas.biz"
)
compile
project
(
":xyst.dinas.pro
ject
"
)
compile
project
(
":xyst.dinas.pro
duction
"
)
compile
project
(
":xyst.dinas.transport"
)
compile
project
(
":xyst.dinas.transport"
)
...
...
backend/xyst.dinas.camera/src/main/java/com/xyst/dinas/camera/web/WatershedCameraPlayController.java
View file @
2368b719
...
@@ -7,6 +7,7 @@ import com.xyst.dinas.biz.service.SandMiningAreaService;
...
@@ -7,6 +7,7 @@ import com.xyst.dinas.biz.service.SandMiningAreaService;
import
com.xyst.dinas.biz.service.ShipInfoService
;
import
com.xyst.dinas.biz.service.ShipInfoService
;
import
com.xyst.dinas.camera.entity.RegionalCompanyWatershedCameraTree
;
import
com.xyst.dinas.camera.entity.RegionalCompanyWatershedCameraTree
;
import
com.xyst.dinas.camera.service.CameraInfoService
;
import
com.xyst.dinas.camera.service.CameraInfoService
;
import
com.xyst.dinas.production.service.SandMiningService
;
import
org.json.JSONObject
;
import
org.json.JSONObject
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.*
;
import
org.springframework.web.bind.annotation.*
;
...
@@ -28,6 +29,8 @@ public class WatershedCameraPlayController {
...
@@ -28,6 +29,8 @@ public class WatershedCameraPlayController {
@Autowired
@Autowired
private
ShipInfoService
shipInfoService
;
private
ShipInfoService
shipInfoService
;
@Autowired
private
SandMiningService
sandMiningService
;
/**
/**
* 获取摄像头树列表
* 获取摄像头树列表
...
@@ -56,7 +59,9 @@ public class WatershedCameraPlayController {
...
@@ -56,7 +59,9 @@ public class WatershedCameraPlayController {
@GetMapping
(
value
=
"/getAllShipByRegionalCompanyIds"
)
@GetMapping
(
value
=
"/getAllShipByRegionalCompanyIds"
)
public
ResponseObj
<
List
<
Map
<
String
,
Object
>>>
getAllShipByRegionalCompanyIds
(
@RequestParam
(
name
=
"uuidList"
,
required
=
false
)
List
<
UUID
>
uuidList
)
throws
Exception
{
public
ResponseObj
<
List
<
Map
<
String
,
Object
>>>
getAllShipByRegionalCompanyIds
(
@RequestParam
(
name
=
"uuidList"
,
required
=
false
)
List
<
UUID
>
uuidList
)
throws
Exception
{
List
<
KObject
>
allShipByRegionalCompanyIds
=
shipInfoService
.
getAllShipByRegionalCompanyIds
(
uuidList
);
List
<
KObject
>
allShipByRegionalCompanyIds
=
shipInfoService
.
getAllShipByRegionalCompanyIds
(
uuidList
);
return
ResponseObj
.
response
(
200
,
"查询成功"
,
shipInfoService
.
getShipsTracking
(
allShipByRegionalCompanyIds
)
);
List
<
Map
<
String
,
Object
>>
shipsTracking
=
shipInfoService
.
getShipsTracking
(
allShipByRegionalCompanyIds
);
List
<
Map
<
String
,
Object
>>
sandMining
=
sandMiningService
.
queryByShip
(
shipsTracking
);
return
ResponseObj
.
response
(
200
,
"查询成功"
,
sandMining
);
}
}
...
...
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