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
4a4ac636
Commit
4a4ac636
authored
Dec 22, 2021
by
helinlin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加副屏视频随主屏警情切换进行联动
parent
df5e85dc
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
17 deletions
+14
-17
EquipFeignClient.java
...n/amos/boot/module/common/api/feign/EquipFeignClient.java
+12
-8
CommandController.java
...boot/module/command/biz/controller/CommandController.java
+0
-0
VideoMapper.xml
...ot-system-equip/src/main/resources/mapper/VideoMapper.xml
+2
-9
No files found.
amos-boot-module/amos-boot-module-api/amos-boot-module-common-api/src/main/java/com/yeejoin/amos/boot/module/common/api/feign/EquipFeignClient.java
View file @
4a4ac636
...
...
@@ -183,7 +183,9 @@ public interface EquipFeignClient {
* @return
*/
@RequestMapping
(
value
=
"/building/video/page"
,
method
=
RequestMethod
.
GET
)
ResponseModel
<
Page
<
Map
<
String
,
Object
>>>
getVideo
(
@RequestParam
(
"current"
)
long
current
,
@RequestParam
(
"size"
)
long
size
,
@RequestParam
(
"buildingId"
)
Long
buildingId
);
ResponseModel
<
Page
<
Map
<
String
,
Object
>>>
getVideo
(
@RequestParam
(
"current"
)
long
current
,
@RequestParam
(
"size"
)
long
size
,
@RequestParam
(
"buildingId"
)
Long
buildingId
);
@RequestMapping
(
value
=
"/building/video/page"
,
method
=
RequestMethod
.
GET
)
ResponseModel
<
Page
<
Map
<
String
,
Object
>>>
getVideopag
(
@RequestParam
(
"current"
)
String
current
,
...
...
@@ -203,13 +205,11 @@ public interface EquipFeignClient {
);
@RequestMapping
(
value
=
"/confirmAlarm/getDetailsById"
,
method
=
RequestMethod
.
GET
)
public
ResponseModel
<
Map
<
String
,
Object
>>
getDetailsById
(
@RequestParam
Long
alamId
,
@RequestParam
(
required
=
false
)
Long
equipId
,
@RequestParam
(
required
=
false
)
String
type
,
@RequestParam
String
area
)
;
ResponseModel
<
Map
<
String
,
Object
>>
getDetailsById
(
@RequestParam
Long
alamId
,
@RequestParam
(
required
=
false
)
Long
equipId
,
@RequestParam
(
required
=
false
)
String
type
,
@RequestParam
String
area
)
;
/**
*
*获取视频列表
...
...
@@ -217,7 +217,11 @@ public interface EquipFeignClient {
* @return
*/
@RequestMapping
(
value
=
"/video/pageVideo"
,
method
=
RequestMethod
.
GET
)
ResponseModel
<
Page
<
Map
<
String
,
Object
>>>
pageVideo
(
@RequestParam
(
"pageNum"
)
Integer
pageNum
,
@RequestParam
(
"pageSize"
)
Integer
pageSize
,
@RequestParam
(
"longitude"
)
Double
longitude
,
@RequestParam
(
"latitude"
)
Double
latitude
,
@RequestParam
(
"distance"
)
Double
distance
);
ResponseModel
<
Page
<
Map
<
String
,
Object
>>>
pageVideo
(
@RequestParam
(
"pageNum"
)
Integer
pageNum
,
@RequestParam
(
"pageSize"
)
Integer
pageSize
,
@RequestParam
(
"longitude"
)
Double
longitude
,
@RequestParam
(
"latitude"
)
Double
latitude
,
@RequestParam
(
"distance"
)
Double
distance
);
@RequestMapping
(
value
=
"/video/pageList"
,
method
=
RequestMethod
.
GET
)
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-command-biz/src/main/java/com/yeejoin/amos/boot/module/command/biz/controller/CommandController.java
View file @
4a4ac636
This diff is collapsed.
Click to expand it.
amos-boot-system-equip/src/main/resources/mapper/VideoMapper.xml
View file @
4a4ac636
...
...
@@ -314,21 +314,14 @@
</if>
wle.latitude
FROM wl_video wle
where wle.longitude is not null and wle.latitude is not null
<if
test=
'distance!=null'
>
and Round(st_distance(point(wle.longitude,wle.latitude),point(#{longitude},#{latitude}))*111195,1)
<
=
#{distance}
<if
test=
'longitude!=null and latitude!=null and distance!=null'
>
and distance
<
= #{distance}
</if>
<if
test=
'longitude!=null and latitude!=null '
>
ORDER BY distance
</if>
limit #{pageNum},#{pageSize}
</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