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 c0ed0ba9
authored
Sep 14, 2021
by
黄小葱
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改bug
1 parent
179d4f4e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
src/main/java/cn/com/glsx/devicemonitor/modules/service/impl/DeviceServiceImpl.java
src/main/java/cn/com/glsx/devicemonitor/modules/service/impl/DeviceServiceImpl.java
View file @
c0ed0ba
...
@@ -16,6 +16,7 @@ import org.springframework.beans.BeanUtils;
...
@@ -16,6 +16,7 @@ import org.springframework.beans.BeanUtils;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
import
java.util.Collection
;
import
java.util.Date
;
import
java.util.Date
;
@Slf4j
@Slf4j
...
@@ -52,7 +53,7 @@ public class DeviceServiceImpl implements DeviceService {
...
@@ -52,7 +53,7 @@ public class DeviceServiceImpl implements DeviceService {
@Override
@Override
public
DeviceStatusModel
getDeviceStatusBySn
(
String
sn
,
Long
offlineTime
)
{
public
DeviceStatusModel
getDeviceStatusBySn
(
String
sn
,
Long
offlineTime
)
{
Device
device
=
deviceMapper
.
selectBySn
(
sn
);
Device
device
=
getDeviceOrRemote
(
sn
);
if
(
device
==
null
)
{
if
(
device
==
null
)
{
return
null
;
return
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