Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
loongten
metersphere
Commits
07bbd278
Commit
07bbd278
authored
3 years ago
by
BugKing
Committed by
jianxing
3 years ago
Browse files
Options
Download
Email Patches
Plain Diff
fix(接口测试): 修复导入接口定义时接口用例ID格式不正确的问题
parent
d205653e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
backend/src/main/java/io/metersphere/api/service/ApiDefinitionService.java
+1
-1
...java/io/metersphere/api/service/ApiDefinitionService.java
with
1 addition
and
1 deletion
+1
-1
backend/src/main/java/io/metersphere/api/service/ApiDefinitionService.java
+
1
-
1
View file @
07bbd278
...
...
@@ -619,7 +619,7 @@ public class ApiDefinitionService {
apiTestCase
.
setUpdateUserId
(
SessionUtils
.
getUserId
());
if
(
sameCase
==
null
)
{
apiTestCase
.
setId
(
UUID
.
randomUUID
().
toString
());
apiTestCase
.
setNum
(
getNextNum
(
apiTestCase
.
getApiDefinitionId
()));
apiTestCase
.
setNum
(
apiTestCaseService
.
getNextNum
(
apiTestCase
.
getApiDefinitionId
()));
apiTestCase
.
setCreateTime
(
System
.
currentTimeMillis
());
apiTestCase
.
setUpdateTime
(
System
.
currentTimeMillis
());
apiTestCase
.
setCreateUserId
(
SessionUtils
.
getUserId
());
...
...
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
Menu
Projects
Groups
Snippets
Help