fix 导入用例模块树层级问题

This commit is contained in:
王振 2020-05-09 19:04:35 +08:00
parent c62bf4c960
commit 870595b6a2
1 changed files with 2 additions and 0 deletions

View File

@ -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++;
}
}
}