fix(测试跟踪): 测试计划关联用例,高级搜索多选框自定义字段搜索失败
--bug=1024933 --user=陈建星 【测试跟踪】github#23218,筛选多选下拉列表的值,报SQL异常 https://www.tapd.cn/55049933/s/1356789
This commit is contained in:
parent
1a7cd30872
commit
5a47d8138c
|
@ -369,6 +369,7 @@ public class TestCaseNodeService extends NodeTreeService<TestCaseNodeDTO> {
|
|||
if (testPlanService.isAllowedRepeatCase(request.getPlanId())) {
|
||||
request.setRepeatCase(true);
|
||||
}
|
||||
ServiceUtils.setBaseQueryRequestCustomMultipleFields(request);
|
||||
List<TestCaseNodeDTO> countMNodes = extTestCaseMapper.getTestPlanRelateCountNodes(request);
|
||||
List<TestCaseNodeDTO> testCaseNodes = extTestCaseNodeMapper.getNodeTreeByProjectId(request.getProjectId());
|
||||
return getNodeTreeWithPruningTreeByCaseCount(testCaseNodes, getCountMap(countMNodes));
|
||||
|
@ -378,6 +379,7 @@ public class TestCaseNodeService extends NodeTreeService<TestCaseNodeDTO> {
|
|||
request.setNodeIds(null);
|
||||
List<TestCaseNodeDTO> countMNodes = extTestCaseMapper.getTestReviewRelateCountNodes(request);
|
||||
List<TestCaseNodeDTO> testCaseNodes = extTestCaseNodeMapper.getNodeTreeByProjectId(request.getProjectId());
|
||||
ServiceUtils.setBaseQueryRequestCustomMultipleFields(request);
|
||||
return getNodeTreeWithPruningTreeByCaseCount(testCaseNodes, getCountMap(countMNodes));
|
||||
}
|
||||
|
||||
|
|
|
@ -973,6 +973,7 @@ public class TestCaseService {
|
|||
}
|
||||
|
||||
public List<TestCaseDTO> getTestCaseByNotInPlan(QueryTestCaseRequest request) {
|
||||
ServiceUtils.setBaseQueryRequestCustomMultipleFields(request);
|
||||
return extTestCaseMapper.getTestCaseByNotInPlan(request);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue