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 462025f3
authored
Nov 23, 2022
by
杨林龙
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
开发1.13.0版本 解决轨迹回放 基站数超过2000无法导出的问题
1 parent
7fc24dc4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
7 deletions
src/main/java/cn/com/glsx/devicemonitor/modules/components/HdaoGpsComponent.java
src/main/java/cn/com/glsx/devicemonitor/modules/components/HdaoGpsComponent.java
View file @
462025f
...
@@ -271,8 +271,7 @@ public class HdaoGpsComponent {
...
@@ -271,8 +271,7 @@ public class HdaoGpsComponent {
return
resultAddress
;
return
resultAddress
;
}
}
if
(
poiSearchHolder
.
value
==
null
if
(
poiSearchHolder
.
value
==
null
||
StringUtils
.
isEmpty
(
poiSearchHolder
.
value
))
{
||
StringUtils
.
isEmpty
(
poiSearchHolder
.
value
))
{
return
resultAddress
;
return
resultAddress
;
}
}
resultAddress
=
poiSearchHolder
.
value
;
resultAddress
=
poiSearchHolder
.
value
;
...
@@ -401,9 +400,7 @@ public class HdaoGpsComponent {
...
@@ -401,9 +400,7 @@ public class HdaoGpsComponent {
*/
*/
public
DataGpsLocation
getDeviceLastGpsInfoFull
(
String
sn
,
DeviceTypeRelationEnum
deviceTypeRelationEnum
)
{
public
DataGpsLocation
getDeviceLastGpsInfoFull
(
String
sn
,
DeviceTypeRelationEnum
deviceTypeRelationEnum
)
{
DataGpsLocation
dataGpsLocation
=
getDeviceLastGpsInfo
(
sn
,
deviceTypeRelationEnum
);
DataGpsLocation
dataGpsLocation
=
getDeviceLastGpsInfo
(
sn
,
deviceTypeRelationEnum
);
if
(
dataGpsLocation
==
null
if
(
dataGpsLocation
==
null
||
StringUtils
.
isEmpty
(
dataGpsLocation
.
getLng
())
||
StringUtils
.
isEmpty
(
dataGpsLocation
.
getLat
()))
{
||
StringUtils
.
isEmpty
(
dataGpsLocation
.
getLng
())
||
StringUtils
.
isEmpty
(
dataGpsLocation
.
getLat
()))
{
return
dataGpsLocation
;
return
dataGpsLocation
;
}
}
...
@@ -530,9 +527,9 @@ public class HdaoGpsComponent {
...
@@ -530,9 +527,9 @@ public class HdaoGpsComponent {
Integer
maxSize
=
Integer
.
parseInt
(
replaySizeStr
);
Integer
maxSize
=
Integer
.
parseInt
(
replaySizeStr
);
boolean
loopFlag
=
true
;
boolean
loopFlag
=
true
;
int
loopSize
=
1
;
int
loopSize
=
1
;
Date
fromDate
=
DateFormatUtil
.
toDate
(
startTime
,
DateFormatUtil
.
pattern01
);
Date
endDate
=
DateFormatUtil
.
toDate
(
endTime
,
DateFormatUtil
.
pattern01
);
do
{
do
{
Date
fromDate
=
DateFormatUtil
.
toDate
(
startTime
,
DateFormatUtil
.
pattern01
);
Date
endDate
=
DateFormatUtil
.
toDate
(
endTime
,
DateFormatUtil
.
pattern01
);
List
<
BaseStationModel
>
stationlList
=
getBaseStationPointScop
(
sn
,
dataDeviceType
,
fromDate
,
endDate
);
List
<
BaseStationModel
>
stationlList
=
getBaseStationPointScop
(
sn
,
dataDeviceType
,
fromDate
,
endDate
);
if
(
stationlList
.
size
()
<
iceProperties
.
getLocationHistoryCount
().
intValue
())
{
if
(
stationlList
.
size
()
<
iceProperties
.
getLocationHistoryCount
().
intValue
())
{
loopFlag
=
false
;
loopFlag
=
false
;
...
...
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