fix(测试跟踪): 修改模块名称时删除了模块
--bug=1010489 --user=陈建星 【测试跟踪】-功能用例-脑图-编辑模块名称保存后未生效 https://www.tapd.cn/55049933/s/1108862
This commit is contained in:
parent
884fee0b8a
commit
21b12e340a
|
@ -224,6 +224,9 @@ public class TestCaseNodeService extends NodeTreeService<TestCaseNodeDTO> {
|
|||
});
|
||||
batchUpdateTestCase(testCases);
|
||||
}
|
||||
if (StringUtils.isBlank(request.getParentId())) {
|
||||
request.setParentId(null);
|
||||
}
|
||||
return testCaseNodeMapper.updateByPrimaryKeySelective(request);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue