Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
map-parent
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
常超
map-parent
Commits
d2fcff1e
Commit
d2fcff1e
authored
Apr 06, 2023
by
yangyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
快手热力图(湖南)
parent
1f4b2797
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
service/publicapi/src/main/java/com/founder/publicapi/controller/SkDataOperation/SkTrailController.java
+7
-2
No files found.
service/publicapi/src/main/java/com/founder/publicapi/controller/SkDataOperation/SkTrailController.java
View file @
d2fcff1e
...
...
@@ -631,15 +631,20 @@ public class SkTrailController extends ApiController implements ExcelControllerI
queryWrapper
.
eq
(
"user_id"
,
userid
);
queryWrapper
.
orderByDesc
(
"active_time"
);
List
<
TbYwDzqqKuaishouActiveInfo
>
listAll
=
ksTrailMapper
.
selectList
(
queryWrapper
);
List
<
TbYwDzqqKuaishouActiveInfo
>
listResult
=
new
ArrayList
<>();
// 经纬度处理
listAll
.
stream
().
forEach
(
p
->{
if
(
StringUtils
.
isNotBlank
(
p
.
getLongitudeLatitude
())){
String
xy
[]
=
p
.
getLongitudeLatitude
().
split
(
","
);
// 经纬度核验
if
(
KECheckUtil
.
checkLoLaChinese
(
xy
[
0
],
xy
[
1
]))
{
p
.
setX
(
xy
[
0
]);
p
.
setY
(
xy
[
1
]);
listResult
.
add
(
p
);
}
}
});
mapResult
.
put
(
"list"
,
list
All
);
mapResult
.
put
(
"list"
,
list
Result
);
// 返回字段描述
Field
[]
declaredFields
=
TbYwDzqqKuaishouActiveInfo
.
class
.
getDeclaredFields
();
List
<
Map
<
String
,
String
>>
mapsList
=
new
ArrayList
<>();
...
...
@@ -655,7 +660,7 @@ public class SkTrailController extends ApiController implements ExcelControllerI
}
}
mapResult
.
put
(
"column"
,
mapsList
);
return
new
MapRestResult
(
200
,
"OK"
,
list
All
.
size
(),
mapResult
);
return
new
MapRestResult
(
200
,
"OK"
,
list
Result
.
size
(),
mapResult
);
}
...
...
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