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
17945f62
Commit
17945f62
authored
Jun 23, 2022
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改redis 过期事件通知
parent
cf56eaa7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
device-manager/src/main/java/com/mortals/xhx/busiz/web/DeviceApiController.java
...n/java/com/mortals/xhx/busiz/web/DeviceApiController.java
+1
-1
device-manager/src/test/java/com/mortals/httpclient/device/DeviceController.http
.../java/com/mortals/httpclient/device/DeviceController.http
+1
-1
No files found.
device-manager/src/main/java/com/mortals/xhx/busiz/web/DeviceApiController.java
View file @
17945f62
...
@@ -429,7 +429,7 @@ public class DeviceApiController {
...
@@ -429,7 +429,7 @@ public class DeviceApiController {
log
.
info
(
"【设备删除】【请求体】--> "
+
JSONObject
.
toJSONString
(
req
));
log
.
info
(
"【设备删除】【请求体】--> "
+
JSONObject
.
toJSONString
(
req
));
//根据设备编码查询设备
//根据设备编码查询设备
DeviceEntity
deviceEntity
=
checkDeviceExist
(
req
);
DeviceEntity
deviceEntity
=
checkDeviceExist
(
req
);
deviceService
.
remove
(
deviceEntity
.
getId
()
,
null
);
deviceService
.
remove
(
new
Long
[]{
deviceEntity
.
getId
()}
,
null
);
}
}
...
...
device-manager/src/test/java/com/mortals/httpclient/device/DeviceController.http
View file @
17945f62
...
@@ -92,7 +92,7 @@ Content-Type: application/json
...
@@ -92,7 +92,7 @@ Content-Type: application/json
{
{
"receiveMethod": 1,
"receiveMethod": 1,
"deviceName": "测试接口创建设备3",
"deviceName": "测试接口创建设备3",
"deviceCode": "
A1:12:23:12:23:1124
",
"deviceCode": "
b12345678
",
"siteId": 123,
"siteId": 123,
"siteCode": "adfasfdasfdasf",
"siteCode": "adfasfdasfdasf",
"siteName": "测试站点",
"siteName": "测试站点",
...
...
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