diff --git a/test-track/backend/src/main/java/io/metersphere/service/TestCaseNodeService.java b/test-track/backend/src/main/java/io/metersphere/service/TestCaseNodeService.java index 15fe59ebe8..f585f9ee25 100644 --- a/test-track/backend/src/main/java/io/metersphere/service/TestCaseNodeService.java +++ b/test-track/backend/src/main/java/io/metersphere/service/TestCaseNodeService.java @@ -369,6 +369,7 @@ public class TestCaseNodeService extends NodeTreeService { if (testPlanService.isAllowedRepeatCase(request.getPlanId())) { request.setRepeatCase(true); } + ServiceUtils.setBaseQueryRequestCustomMultipleFields(request); List countMNodes = extTestCaseMapper.getTestPlanRelateCountNodes(request); List testCaseNodes = extTestCaseNodeMapper.getNodeTreeByProjectId(request.getProjectId()); return getNodeTreeWithPruningTreeByCaseCount(testCaseNodes, getCountMap(countMNodes)); @@ -378,6 +379,7 @@ public class TestCaseNodeService extends NodeTreeService { request.setNodeIds(null); List countMNodes = extTestCaseMapper.getTestReviewRelateCountNodes(request); List testCaseNodes = extTestCaseNodeMapper.getNodeTreeByProjectId(request.getProjectId()); + ServiceUtils.setBaseQueryRequestCustomMultipleFields(request); return getNodeTreeWithPruningTreeByCaseCount(testCaseNodes, getCountMap(countMNodes)); } diff --git a/test-track/backend/src/main/java/io/metersphere/service/TestCaseService.java b/test-track/backend/src/main/java/io/metersphere/service/TestCaseService.java index af5eb321df..8535a83bce 100644 --- a/test-track/backend/src/main/java/io/metersphere/service/TestCaseService.java +++ b/test-track/backend/src/main/java/io/metersphere/service/TestCaseService.java @@ -973,6 +973,7 @@ public class TestCaseService { } public List getTestCaseByNotInPlan(QueryTestCaseRequest request) { + ServiceUtils.setBaseQueryRequestCustomMultipleFields(request); return extTestCaseMapper.getTestCaseByNotInPlan(request); }