fix(测试跟踪): 测试计划关联用例,高级搜索多选框自定义字段搜索失败
--bug=1024933 --user=陈建星 【测试跟踪】github#23218,筛选多选下拉列表的值,报SQL异常 https://www.tapd.cn/55049933/s/1356789
This commit is contained in:
parent
0d188ab0db
commit
63c8f57e90
|
@ -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));
|
||||
}
|
||||
|
||||
|
|
|
@ -975,6 +975,7 @@ public class TestCaseService {
|
|||
}
|
||||
|
||||
public List<TestCaseDTO> getTestCaseByNotInPlan(QueryTestCaseRequest request) {
|
||||
ServiceUtils.setBaseQueryRequestCustomMultipleFields(request);
|
||||
return extTestCaseMapper.getTestCaseByNotInPlan(request);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue