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 5859510d
authored
Apr 21, 2021
by
111-PC\111
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
[+]产品名称修改
1 parent
9dec43ce
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
src/main/java/com/glsx/smart/service/impl/SmartSceneServiceImpl.java
src/main/java/com/glsx/smart/service/impl/SmartSceneServiceImpl.java
View file @
5859510
...
...
@@ -277,14 +277,14 @@ public class SmartSceneServiceImpl extends BaseService implements SmartSceneServ
Map
<
String
,
Object
>
map
=
sceneMapper
.
getBySourceAndUserId
(
scene
.
getId
());
String
user_id
=
map
.
get
(
"user_id"
)
+
""
;
Map
<
String
,
String
>
paramMap
=
new
HashMap
<>();
String
source
=
map
.
get
(
"source"
)
+
""
;
Object
source
=
map
.
get
(
"source"
)
;
paramMap
.
put
(
"alias"
,
user_id
);
paramMap
.
put
(
"deviceType"
,
map
.
get
(
"source"
)
+
""
);
paramMap
.
put
(
"title"
,
title
);
paramMap
.
put
(
"body"
,
msg
);
paramMap
.
put
(
"msgBody"
,
msg
);
saveMegInfo
(
user_id
,
title
,
msg
);
if
(
StringUtils
.
isEmpty
(
source
)
){
if
(
source
==
null
){
return
;
}
try
{
...
...
@@ -333,7 +333,7 @@ public class SmartSceneServiceImpl extends BaseService implements SmartSceneServ
Map
<
String
,
Object
>
map
=
sceneMapper
.
getBySourceAndUserId
(
scene
.
getId
());
String
user_id
=
map
.
get
(
"user_id"
)
+
""
;
String
scene_name
=
map
.
get
(
"scene_name"
)
+
""
;
String
source
=
map
.
get
(
"source"
)
+
""
;
Object
source
=
map
.
get
(
"source"
)
;
Map
<
String
,
String
>
paramMap
=
new
HashMap
<>();
paramMap
.
put
(
"alias"
,
user_id
);
paramMap
.
put
(
"deviceType"
,
map
.
get
(
"source"
)
+
""
);
...
...
@@ -353,7 +353,7 @@ public class SmartSceneServiceImpl extends BaseService implements SmartSceneServ
String
context
=
buildBody
(
user_id
,
title
,
collect
,
scene
.
getId
(),
scene_name
);
paramMap
.
put
(
"msgBody"
,
context
);
saveMegInfo
(
user_id
,
title
,
context
);
if
(
StringUtils
.
isEmpty
(
source
)
){
if
(
source
==
null
){
return
;
}
try
{
...
...
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