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 ca452971
authored
Sep 01, 2021
by
黄小葱
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改bug
1 parent
0c385ed4
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
src/main/java/cn/com/glsx/devicemonitor/modules/components/HdaoGpsComponent.java
src/main/java/cn/com/glsx/devicemonitor/modules/utils/DeviceUtils.java
src/main/java/cn/com/glsx/devicemonitor/modules/components/HdaoGpsComponent.java
View file @
ca45297
...
@@ -309,8 +309,7 @@ public class HdaoGpsComponent {
...
@@ -309,8 +309,7 @@ public class HdaoGpsComponent {
dataGpsLocation
.
setStoreTime
(
dataBsLocation
.
getStoreTime
());
dataGpsLocation
.
setStoreTime
(
dataBsLocation
.
getStoreTime
());
}
}
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
log
.
error
(
dataBsLocation
.
getSn
()
+
"调用ice服务异常,请联系大数据侧;mapGeoBsConvert invoker baseStationServicePrx.GetGpsByBs ICE_EXCEP:"
+
e
.
getMessage
(),
e
);
log
.
error
(
"mapGeoBsConvert invoker baseStationServicePrx.GetGpsByBs ICE_EXCEP:"
+
e
.
getMessage
(),
e
);
}
}
return
dataGpsLocation
;
return
dataGpsLocation
;
}
}
...
...
src/main/java/cn/com/glsx/devicemonitor/modules/utils/DeviceUtils.java
View file @
ca45297
...
@@ -17,7 +17,7 @@ public class DeviceUtils {
...
@@ -17,7 +17,7 @@ public class DeviceUtils {
* @param offlineTime 单位秒
* @param offlineTime 单位秒
* @return
* @return
*/
*/
public
static
DeviceStatusModel
parseDeviceStatus
(
DeviceLoginDto
deviceLogin
,
int
source
,
long
offlineTime
)
{
public
static
DeviceStatusModel
parseDeviceStatus
(
DeviceLoginDto
deviceLogin
,
Integer
source
,
long
offlineTime
)
{
DeviceStatusModel
deviceStatus
=
new
DeviceStatusModel
();
DeviceStatusModel
deviceStatus
=
new
DeviceStatusModel
();
deviceStatus
.
setSource
(
source
);
deviceStatus
.
setSource
(
source
);
if
(
deviceLogin
==
null
)
{
if
(
deviceLogin
==
null
)
{
...
...
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