Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
eshiled-new
/
ne-shield-trialdrive-admin
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 c48f6cb3
authored
Dec 14, 2021
by
levphon
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
bug修复或预防
1 parent
63bd5e2e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
4 deletions
src/main/java/cn/com/glsx/admin/modules/service/VehicleMonitorSevice.java
src/main/java/cn/com/glsx/admin/modules/service/VehicleMonitorSevice.java
View file @
c48f6cb
...
@@ -44,9 +44,6 @@ public class VehicleMonitorSevice {
...
@@ -44,9 +44,6 @@ public class VehicleMonitorSevice {
private
OrganizationApiService
organizationApiService
;
private
OrganizationApiService
organizationApiService
;
@Autowired
@Autowired
private
DeviceMonitorApiService
monitorApiService
;
@Autowired
private
DeviceMonitorApiService
deviceMonitorApiService
;
private
DeviceMonitorApiService
deviceMonitorApiService
;
/**
/**
...
@@ -217,7 +214,7 @@ public class VehicleMonitorSevice {
...
@@ -217,7 +214,7 @@ public class VehicleMonitorSevice {
public
List
<
VehicleLocationBo
>
getVehicleLocation
(
String
sns
,
String
deviceCode
)
{
public
List
<
VehicleLocationBo
>
getVehicleLocation
(
String
sns
,
String
deviceCode
)
{
List
<
VehicleLocationBo
>
retVehicleBoList
=
new
ArrayList
<>();
List
<
VehicleLocationBo
>
retVehicleBoList
=
new
ArrayList
<>();
long
begin
=
System
.
currentTimeMillis
();
long
begin
=
System
.
currentTimeMillis
();
List
<
DeviceLocationBo
>
deviceLocationBos
=
m
onitorApiService
.
listDeviceMonitorInfo
(
sns
,
deviceCode
);
List
<
DeviceLocationBo
>
deviceLocationBos
=
deviceM
onitorApiService
.
listDeviceMonitorInfo
(
sns
,
deviceCode
);
log
.
info
(
"Used time:"
+
(
System
.
currentTimeMillis
()
-
begin
));
log
.
info
(
"Used time:"
+
(
System
.
currentTimeMillis
()
-
begin
));
if
(
deviceLocationBos
==
null
)
{
if
(
deviceLocationBos
==
null
)
{
return
retVehicleBoList
;
return
retVehicleBoList
;
...
...
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