Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
xiaofang li
MeterSphere
Commits
0111b748
Commit
0111b748
authored
4 years ago
by
shiziyuan9527
Committed by
刘瑞斌
4 years ago
Browse files
Options
Download
Email Patches
Plain Diff
fix: 获取是否开启场景ID自定义
parent
738b60b2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
backend/src/main/java/io/metersphere/api/service/ApiAutomationService.java
+1
-1
...java/io/metersphere/api/service/ApiAutomationService.java
with
1 addition
and
1 deletion
+1
-1
backend/src/main/java/io/metersphere/api/service/ApiAutomationService.java
+
1
-
1
View file @
0111b748
...
...
@@ -249,7 +249,7 @@ public class ApiAutomationService {
String
projectId
=
request
.
getProjectId
();
Project
project
=
projectMapper
.
selectByPrimaryKey
(
projectId
);
if
(
project
!=
null
)
{
Boolean
customNum
=
project
.
getCustomNum
();
Boolean
customNum
=
project
.
get
Scenario
CustomNum
();
// 未开启自定义ID
if
(!
customNum
)
{
request
.
setCustomNum
(
null
);
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
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