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
xiaofang li
MeterSphere
Commits
714253a0
Commit
714253a0
authored
4 years ago
by
chenjianxing
Browse files
Options
Download
Email Patches
Plain Diff
fix: 测试用例导入创建人为空
parent
24a9febe
pr@dev@fix_测试用例导入创建人为空
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
backend/src/main/java/io/metersphere/track/service/TestCaseService.java
+1
-0
...in/java/io/metersphere/track/service/TestCaseService.java
with
1 addition
and
0 deletions
+1
-0
backend/src/main/java/io/metersphere/track/service/TestCaseService.java
+
1
-
0
View file @
714253a0
...
...
@@ -539,6 +539,7 @@ public class TestCaseService {
num
.
set
(
getNextNum
(
projectId
)
+
testCases
.
size
());
testCases
.
forEach
(
testcase
->
{
testcase
.
setId
(
UUID
.
randomUUID
().
toString
());
testcase
.
setCreateUser
(
SessionUtils
.
getUserId
());
testcase
.
setCreateTime
(
System
.
currentTimeMillis
());
testcase
.
setUpdateTime
(
System
.
currentTimeMillis
());
testcase
.
setNodeId
(
nodePathMap
.
get
(
testcase
.
getNodePath
()));
...
...
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