fix(测试计划): 关联接口用例不能关联全部选中的接口用例

--bug=1010213 --user=lyh 【测试跟踪】github#10438,测试计划关联接口用例批量关联不能关联全部选中的接口用例
https://www.tapd.cn/55049933/s/1104115
This commit is contained in:
shiziyuan9527 2022-02-15 15:56:26 +08:00 committed by 刘瑞斌
parent 3fd0fa5ef8
commit d9adbf7c2f
1 changed files with 2 additions and 3 deletions

View File

@ -152,9 +152,8 @@ public class ApiTestCaseService {
public List<String> idSimple(ApiTestCaseRequest request) {
request = this.initRequest(request, true, true);
List<String> ids = extApiTestCaseMapper.idSimple(request);
return ids;
List<ApiTestCaseDTO> apiTestCaseDTOS = extApiTestCaseMapper.listSimple(request);
return apiTestCaseDTOS.stream().map(ApiTestCaseDTO::getId).collect(Collectors.toList());
}
/**