fix(测试跟踪): 左侧模块树跳转进入时UI关联数据未统计

--bug=1026884 --user=宋昌昌 【测试跟踪】首页-关联用例数量统计-已覆盖跳转链接页面左侧模块统计数和右侧不一致 https://www.tapd.cn/55049933/s/1387338
This commit is contained in:
song-cc-rock 2023-06-28 09:53:29 +08:00 committed by fit2-zhao
parent ae91ceef96
commit 11da539ebc
1 changed files with 2 additions and 0 deletions

View File

@ -218,6 +218,8 @@ public class TestCaseNodeService extends NodeTreeService<TestCaseNodeDTO> {
}
public List<TestCaseNodeDTO> getNodeTreeByProjectId(String projectId, QueryTestCaseRequest request) {
boolean queryUi = DiscoveryUtil.hasService(MicroServiceName.UI_TEST);
request.setQueryUi(queryUi);
this.setRequestWeekParam(request);
// 判断当前项目下是否有默认模块没有添加默认模块
this.getDefaultNode(projectId);