fix(测试计划): 恢复合并丢失内容

This commit is contained in:
fit2-zhao 2022-05-23 22:17:42 +08:00 committed by fit2-zhao
parent ef4b705489
commit a6cc1be032
1 changed files with 1 additions and 0 deletions

View File

@ -1912,6 +1912,7 @@ public class TestCaseService {
List<TestCaseWithBLOBs> testCaseWithBLOBs = testCaseMapper.selectByExampleWithBLOBs(example);
testCaseMap = testCaseWithBLOBs.stream().collect(Collectors.toMap(TestCaseWithBLOBs::getId, t -> t));
}
String lastAddId = null;
for (TestCaseMinderEditRequest.TestCaseMinderEditItem item : data) {
if (StringUtils.isBlank(item.getNodeId()) || item.getNodeId().equals("root")) {