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
794a7497
Commit
794a7497
authored
May 26, 2023
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加智慧办公回调信息
parent
16c6568d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
3 deletions
+10
-3
device-manager/src/main/java/com/mortals/xhx/daemon/applicationservice/DeviceComsumersRegisterService.java
...on/applicationservice/DeviceComsumersRegisterService.java
+0
-2
device-manager/src/main/java/com/mortals/xhx/module/device/service/impl/DeviceServiceImpl.java
...als/xhx/module/device/service/impl/DeviceServiceImpl.java
+5
-1
device-manager/src/test/java/com/mortals/httpclient/http-client.env.json
...src/test/java/com/mortals/httpclient/http-client.env.json
+5
-0
No files found.
device-manager/src/main/java/com/mortals/xhx/daemon/applicationservice/DeviceComsumersRegisterService.java
View file @
794a7497
...
@@ -47,8 +47,6 @@ public class DeviceComsumersRegisterService implements IApplicationStartedServic
...
@@ -47,8 +47,6 @@ public class DeviceComsumersRegisterService implements IApplicationStartedServic
sendTaskThreadPool
.
init
(
20
);
sendTaskThreadPool
.
init
(
20
);
log
.
info
(
"服务端消息队列初始化服务开始.."
);
log
.
info
(
"服务端消息队列初始化服务开始.."
);
deviceService
.
find
(
new
DeviceEntity
())
deviceService
.
find
(
new
DeviceEntity
())
.
stream
()
.
stream
()
.
filter
(
f
->
!
ObjectUtils
.
isEmpty
(
platformService
.
get
(
f
.
getPlatformId
())))
.
filter
(
f
->
!
ObjectUtils
.
isEmpty
(
platformService
.
get
(
f
.
getPlatformId
())))
...
...
device-manager/src/main/java/com/mortals/xhx/module/device/service/impl/DeviceServiceImpl.java
View file @
794a7497
...
@@ -103,6 +103,8 @@ public class DeviceServiceImpl extends AbstractCRUDCacheServiceImpl<DeviceDao, D
...
@@ -103,6 +103,8 @@ public class DeviceServiceImpl extends AbstractCRUDCacheServiceImpl<DeviceDao, D
@Autowired
@Autowired
private
SiteService
siteService
;
private
SiteService
siteService
;
public
void
refresh
()
{
public
void
refresh
()
{
log
.
info
(
"开始初始化系统参数..."
);
log
.
info
(
"开始初始化系统参数..."
);
try
{
try
{
...
@@ -631,7 +633,9 @@ public class DeviceServiceImpl extends AbstractCRUDCacheServiceImpl<DeviceDao, D
...
@@ -631,7 +633,9 @@ public class DeviceServiceImpl extends AbstractCRUDCacheServiceImpl<DeviceDao, D
};
};
messageProducer
.
queueDelete
(
Constant
.
UPLOAD_TOPIC
+
deviceEntity
.
getDeviceCode
());
messageProducer
.
queueDelete
(
Constant
.
UPLOAD_TOPIC
+
deviceEntity
.
getDeviceCode
());
messageProducer
.
queueDelete
(
Constant
.
DOWN_TOPIC
+
deviceEntity
.
getDeviceCode
());
messageProducer
.
queueDelete
(
Constant
.
DOWN_TOPIC
+
deviceEntity
.
getDeviceCode
());
//删除监听器
container
.
removeQueueNames
(
Constant
.
UPLOAD_TOPIC
+
deviceEntity
.
getDeviceCode
());
container
.
removeQueueNames
(
Constant
.
DOWN_TOPIC
+
deviceEntity
.
getDeviceCode
());
//删除扩展extKey
//删除扩展extKey
this
.
removeCache
(
deviceEntity
.
getDeviceCode
());
this
.
removeCache
(
deviceEntity
.
getDeviceCode
());
return
id
;
return
id
;
...
...
device-manager/src/test/java/com/mortals/httpclient/http-client.env.json
View file @
794a7497
...
@@ -11,6 +11,11 @@
...
@@ -11,6 +11,11 @@
"baseUrl"
:
"http://192.168.0.98:11078/m"
,
"baseUrl"
:
"http://192.168.0.98:11078/m"
,
"baseLogin"
:
"http://192.168.0.98:11078/base"
"baseLogin"
:
"http://192.168.0.98:11078/base"
},
},
"test1"
:
{
"baseUrl"
:
"http://8.136.255.30:11078/m"
,
"baseLogin"
:
"http://192.168.0.98:11078/base"
},
"portal"
:
{
"portal"
:
{
"baseUrl"
:
"http://192.168.0.98:11072/zwfw"
,
"baseUrl"
:
"http://192.168.0.98:11072/zwfw"
,
"baseLogin"
:
"http://192.168.0.98:11078/base"
"baseLogin"
:
"http://192.168.0.98:11078/base"
...
...
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