Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
eshiled-new
/
ne-shield-devicemonitor
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 1d9957f2
authored
Dec 30, 2024
by
谢海旭
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
v1.77.0 修复StayPointConvert.convertTo 赋值错误
1 parent
62459663
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletions
src/main/java/cn/com/glsx/devicemonitor/modules/components/FspComponent.java
src/main/java/cn/com/glsx/devicemonitor/modules/converter/StayPointConvert.java
src/main/java/cn/com/glsx/devicemonitor/modules/components/FspComponent.java
View file @
1d9957f
...
...
@@ -60,6 +60,7 @@ public class FspComponent {
}
int
beginTimestamp
=
DateUtils
.
getEpochSecond
(
beginTime
).
intValue
();
int
endTimestamp
=
DateUtils
.
getEpochSecond
(
endTime
).
intValue
();
// extraMapReq 0:原始坐标 1:转换高德和百度坐标 2:转换高德坐标 3:转换百度坐标
FspReq
fspReq
=
new
FspReq
(
sn
,
5
,
beginTimestamp
,
endTimestamp
,
locInfoType
,
perType
,
1
);
FspResp
fspResp
=
new
FspResp
();
FspRespHolder
fspRespHolder
=
new
FspRespHolder
(
fspResp
);
...
...
src/main/java/cn/com/glsx/devicemonitor/modules/converter/StayPointConvert.java
View file @
1d9957f
...
...
@@ -64,7 +64,7 @@ public class StayPointConvert {
Optional
.
ofNullable
(
stayPointRecord
.
stayGps
)
.
map
(
e
->
e
.
blng
)
.
map
(
LocationUtil:
:
latlng
)
.
ifPresent
(
gpsLocation:
:
setBl
at
);
.
ifPresent
(
gpsLocation:
:
setBl
ng
);
Optional
.
ofNullable
(
stayPointRecord
.
stayGps
)
.
map
(
e
->
e
.
glat
)
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment