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 aeffbf8896
commit 9f05eca1eb
1 changed files with 2 additions and 3 deletions

View File

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