fix: 测试用例导入创建人为空
This commit is contained in:
parent
302029573e
commit
e30207a72f
|
@ -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()));
|
||||
|
|
Loading…
Reference in New Issue