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
0f7d15f8
Commit
0f7d15f8
authored
Dec 15, 2021
by
tangwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改bug
parent
08f2bb10
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
VideoController.java
...a/com/yeejoin/equipmanage/controller/VideoController.java
+1
-1
VideoMapper.xml
...ot-system-equip/src/main/resources/mapper/VideoMapper.xml
+1
-1
No files found.
amos-boot-module/amos-boot-module-biz/amos-boot-module-equip-biz/src/main/java/com/yeejoin/equipmanage/controller/VideoController.java
View file @
0f7d15f8
...
...
@@ -186,7 +186,7 @@ public class VideoController extends AbstractBaseController {
@RequestMapping
(
value
=
"/pageVideo"
,
method
=
RequestMethod
.
GET
)
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"视频分页资源查询"
,
notes
=
"视频分页资源查询"
)
public
ResponseModel
pageVideo
(
Integer
pageNum
,
Integer
pageSize
,
Double
longitude
,
Double
latitude
,
Double
distance
)
{
public
ResponseModel
<
Page
<
VideoListVo
>>
pageVideo
(
Integer
pageNum
,
Integer
pageSize
,
Double
longitude
,
Double
latitude
,
Double
distance
)
{
if
(
null
==
pageNum
||
null
==
pageSize
)
{
pageNum
=
1
;
...
...
amos-boot-system-equip/src/main/resources/mapper/VideoMapper.xml
View file @
0f7d15f8
...
...
@@ -307,7 +307,7 @@
wle.address ,
wle.longitude,
<if
test=
'longitude!=null and latitude!=null '
>
Round(st_distance(point(wle.longitude,wle.latitude),point(#{longitude},#{latitude}))*111195,1) AS distance
Round(st_distance(point(wle.longitude,wle.latitude),point(#{longitude},#{latitude}))*111195,1) AS distance
,
</if>
wle.latitude
FROM wl_video wle
...
...
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