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 ca591196
authored
Apr 14, 2021
by
wnb0128
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'dev' of 192.168.3.233:open-source/chejia-smart-service into dev
2 parents
cb851ec1
8af1848a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletions
src/main/java/com/glsx/smart/service/impl/SmartSceneServiceImpl.java
src/main/resources/mapper/SmartDeviceOrderMapper.xml
src/main/java/com/glsx/smart/service/impl/SmartSceneServiceImpl.java
View file @
ca59119
...
...
@@ -367,7 +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
()
);
log
.
info
(
"{}从redis查询出来的数据为{}"
,
key
,
o
);
if
(
o
==
null
){
redisService
.
setOutTime
(
key
,
key
,
infotimeout
,
TimeUnit
.
MINUTES
);
return
false
;
...
...
src/main/resources/mapper/SmartDeviceOrderMapper.xml
View file @
ca59119
...
...
@@ -15,6 +15,7 @@
<sql
id=
"Base_Column_List"
>
id, product_id, order_code, order_value, order_type, order_value_type, `status`
</sql>
<select
id=
"getListByProductId"
parameterType=
"java.lang.String"
resultMap=
"BaseResultMap"
>
select
<include
refid=
"Base_Column_List"
/>
...
...
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