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
ebff7c20
Commit
ebff7c20
authored
May 05, 2022
by
yangyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
时空标准 案侦查-重点场所(网吧旅店)提交
parent
6abf0599
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
service/publicapi/src/main/java/com/founder/publicapi/service/serviceimpl/TbStAsjServiceImpl.java
+4
-5
No files found.
service/publicapi/src/main/java/com/founder/publicapi/service/serviceimpl/TbStAsjServiceImpl.java
View file @
ebff7c20
...
...
@@ -21,10 +21,7 @@ import org.springframework.beans.factory.annotation.Autowired;
import
org.springframework.beans.factory.annotation.Value
;
import
org.springframework.stereotype.Service
;
import
java.util.ArrayList
;
import
java.util.HashMap
;
import
java.util.List
;
import
java.util.Map
;
import
java.util.*
;
import
java.util.stream.Collectors
;
...
...
@@ -131,9 +128,11 @@ public class TbStAsjServiceImpl extends ServiceImpl<TbStAsjMapper, TbStAsj> impl
@Override
public
Map
<
String
,
List
<
SkPointlocation
>>
getZdcs
(
SkPointlocationParams
params
)
{
// 1.先通过点位拿到周边所有网吧、旅店
等
信息
// 1.先通过点位拿到周边所有网吧、旅店信息
QueryWrapper
queryWrapper
=
new
QueryWrapper
();
queryWrapper
.
eq
(
"isDeleted"
,
"0"
);
List
<
String
>
objectTypes
=
Arrays
.
asList
(
"wb,ld"
.
split
(
","
));
queryWrapper
.
in
(
"objectType"
,
objectTypes
);
//纬度
if
(
params
.
getStartLat
()
!=
null
&&
!
params
.
getStartLat
().
equals
(
""
))
{
queryWrapper
.
ge
(
"CAST(y AS decimal(16,8))"
,
Double
.
parseDouble
(
params
.
getStartLat
()));
...
...
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