Commit 714253a0 authored by chenjianxing's avatar chenjianxing
Browse files

fix: 测试用例导入创建人为空

No related merge requests found
Showing with 1 addition and 0 deletions
+1 -0
......@@ -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()));
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment