Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
open-source
/
glsx-smart-message-channel
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 48a957e9
authored
Apr 20, 2021
by
111-PC\111
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
[+]pulsar消费服务
1 parent
04ae6217
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
src/main/java/cn/com/glsx/consumer/service/InfoService.java
src/main/java/cn/com/glsx/consumer/service/InfoService.java
View file @
48a957e
...
...
@@ -162,13 +162,13 @@ public class InfoService {
log
.
info
(
"JSON解析异常:ScenseParamValue===="
+
e
.
getMessage
()
+
"===conditionId:"
+
condition
.
getId
());
return
false
;
}
log
.
info
(
"JSON转化后参数{}"
,
paramValue
);
//参数一,设备id
String
deviceId
=
paramValue
.
getSelect
();
//参数二,设备指令
String
deviceOrderCode
=
paramValue
.
getOrder
();
//参数三,逻辑(1:<,2:>,3:=)
int
logic
=
Integer
.
parseInt
(
paramValue
.
getOrderCondition
());
log
.
info
(
"JSON转化后参数{}"
,
paramValue
);
//参数四,值
SmartDevideStatus
smartDevideStatus
=
smartDevideStatusMapper
.
findDevStatusByIdAndCode
(
deviceId
,
deviceOrderCode
);
if
(
smartDevideStatus
==
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