Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
device-new-platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
device-new-platform
Commits
3c335bc0
Commit
3c335bc0
authored
Dec 16, 2023
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
分组更新设备
parent
06c92b7f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
device-manager/src/main/java/com/mortals/xhx/thread/SendThirdPartyThread.java
...ain/java/com/mortals/xhx/thread/SendThirdPartyThread.java
+2
-2
No files found.
device-manager/src/main/java/com/mortals/xhx/thread/SendThirdPartyThread.java
View file @
3c335bc0
...
...
@@ -49,8 +49,8 @@ public class SendThirdPartyThread extends AbstractThread {
// log.info("SendThirdPartyThread process");
DeviceReq
deviceReq
=
cacheService
.
blpop
(
KEY_DEVICE_THIRDPARTY_QUEUE
,
10
,
DeviceReq
.
class
);
if
(!
ObjectUtils
.
isEmpty
(
deviceReq
))
{
//设备上下线信息 不更新
if
(
DeviceMethodEnum
.
ONLINE
.
getValue
()
==
deviceReq
.
get
ReceiveMethod
()
||
DeviceMethodEnum
.
ONLINE
.
getValue
()
==
deviceReq
.
getReceiveMethod
())
{
//设备上下线信息 不更新
通知
if
(
DeviceMethodEnum
.
ONLINE
.
getValue
()
==
deviceReq
.
get
DeviceStatus
()
||
DeviceMethodEnum
.
ONLINE
.
getValue
()
==
deviceReq
.
getDeviceStatus
())
{
return
;
}
//deviceReq.getReceiveMethod()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment