fix: 测试用例导入创建人为空
This commit is contained in:
parent
75cb6b3527
commit
ab918f0c94
|
@ -540,6 +540,7 @@ public class TestCaseService {
|
||||||
num.set(getNextNum(projectId) + testCases.size());
|
num.set(getNextNum(projectId) + testCases.size());
|
||||||
testCases.forEach(testcase -> {
|
testCases.forEach(testcase -> {
|
||||||
testcase.setId(UUID.randomUUID().toString());
|
testcase.setId(UUID.randomUUID().toString());
|
||||||
|
testcase.setCreateUser(SessionUtils.getUserId());
|
||||||
testcase.setCreateTime(System.currentTimeMillis());
|
testcase.setCreateTime(System.currentTimeMillis());
|
||||||
testcase.setUpdateTime(System.currentTimeMillis());
|
testcase.setUpdateTime(System.currentTimeMillis());
|
||||||
testcase.setNodeId(nodePathMap.get(testcase.getNodePath()));
|
testcase.setNodeId(nodePathMap.get(testcase.getNodePath()));
|
||||||
|
|
Loading…
Reference in New Issue