Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
open-source
/
chejia-smart-service
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 6a1d7fb9
authored
Apr 13, 2021
by
111-PC\111
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
[+]失败消息错误信息推送
1 parent
9a103f14
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
src/main/java/com/glsx/smart/service/impl/SmartSceneServiceImpl.java
src/main/java/com/glsx/smart/service/impl/SmartSceneServiceImpl.java
View file @
6a1d7fb
...
...
@@ -188,7 +188,6 @@ public class SmartSceneServiceImpl extends BaseService implements SmartSceneServ
// 下发指令
List
<
SmartSceneData
>
orders
=
smartTemplateParamList
.
stream
().
filter
(
index
->
index
.
getParamKey
().
equals
(
"scene_content_device"
)).
collect
(
Collectors
.
toList
());
if
(
CollectionUtils
.
isEmpty
(
orders
))
{
log
.
info
(
"未查到该场景id的指令{}"
,
scene
.
getId
());
}
else
{
try
{
...
...
@@ -368,6 +367,7 @@ public class SmartSceneServiceImpl extends BaseService implements SmartSceneServ
private
boolean
repeatNotification
(
Long
id
)
{
String
key
=
"senceId_"
+
id
;
Object
o
=
redisService
.
get
(
key
);
log
.
info
(
"{}从redis查询出来的数据为{}"
,
key
,
o
.
toString
());
if
(
o
==
null
){
redisService
.
setOutTime
(
key
,
key
,
infotimeout
,
TimeUnit
.
MINUTES
);
return
false
;
...
...
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