Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
H
HYH.APSJ
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
佟礼
HYH.APSJ
Commits
94f5d53b
Commit
94f5d53b
authored
Sep 24, 2026
by
DESKTOP-VKRD9QF\Administration
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: handle missing current macro scene
parent
3d4f520d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
MacroSceneController.java
src/main/java/com/aps/controller/MacroSceneController.java
+2
-1
No files found.
src/main/java/com/aps/controller/MacroSceneController.java
View file @
94f5d53b
...
@@ -51,7 +51,8 @@ public class MacroSceneController {
...
@@ -51,7 +51,8 @@ public class MacroSceneController {
@GetMapping
(
"/current"
)
@GetMapping
(
"/current"
)
@Operation
(
summary
=
"根据用户查询当前主计划场景"
)
@Operation
(
summary
=
"根据用户查询当前主计划场景"
)
public
R
<
MacroSceneConfig
>
current
(
@RequestParam
String
userId
)
{
public
R
<
MacroSceneConfig
>
current
(
@RequestParam
String
userId
)
{
return
R
.
ok
(
macroSceneService
.
getSceneByUserId
(
userId
));
MacroSceneConfig
scene
=
macroSceneService
.
getSceneByUserId
(
userId
);
return
scene
==
null
?
R
.
ok
(
null
,
"error"
)
:
R
.
ok
(
scene
);
}
}
@PostMapping
(
"/select"
)
@PostMapping
(
"/select"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment