fix 导入用例模块树层级问题
This commit is contained in:
parent
c62bf4c960
commit
870595b6a2
|
@ -311,6 +311,7 @@ public class TestCaseNodeService {
|
|||
} else {
|
||||
pid = insertTestCaseNode(nodeName, pNode == null ? null : pNode.getId(), projectId, level);
|
||||
pathMap.put(path.toString(), pid);
|
||||
level++;
|
||||
}
|
||||
|
||||
while (pathIterator.hasNext()) {
|
||||
|
@ -322,6 +323,7 @@ public class TestCaseNodeService {
|
|||
} else {
|
||||
pid = insertTestCaseNode(nextNodeName, pid, projectId, level);
|
||||
pathMap.put(path.toString(), pid);
|
||||
level++;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue