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 3834337b
authored
Apr 12, 2021
by
111-PC\111
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
[+]代码修改
1 parent
493a3309
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
src/main/java/com/glsx/smart/controller/SceneController.java
src/main/java/com/glsx/smart/controller/SceneController.java
View file @
3834337
...
...
@@ -58,12 +58,12 @@ public class SceneController {
public
List
<
SmartScene
>
getScenList
(
@RequestBody
SmartScene
scene
)
{
log
.
info
(
"/scene/getList param: {}"
,
JSON
.
toJSONString
(
scene
));
SmartUserRelation
smartUserRelation
=
new
SmartUserRelation
();
smartUserRelation
.
setId
(
scene
.
getUserId
());
smartUserRelation
.
set
User
Id
(
scene
.
getUserId
());
SmartUserRelation
user
=
userRelationService
.
getSingle
(
smartUserRelation
);
if
(
user
==
null
){
return
null
;
}
scene
.
setUserId
(
user
.
get
User
Id
());
scene
.
setUserId
(
user
.
getId
());
return
sceneService
.
getList
(
scene
);
}
...
...
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