fix(测试用例): 关联接口取消协议列表显示问题
--bug=1044475 --user=王旭 【功能用例】用例详情-关联接口用例-取消勾选全部协议后-列表仍展示全部数据 https://www.tapd.cn/55049933/s/1562051
This commit is contained in:
parent
21bcfda4de
commit
15de20c91b
|
@ -38,6 +38,9 @@ public class AssociateApiProvider implements BaseAssociateApiProvider, BaseAssoc
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public List<TestCaseProviderDTO> getApiTestCaseList(String sourceType, String sourceName, String apiCaseColumnName, TestCasePageProviderRequest testCasePageProviderRequest) {
|
public List<TestCaseProviderDTO> getApiTestCaseList(String sourceType, String sourceName, String apiCaseColumnName, TestCasePageProviderRequest testCasePageProviderRequest) {
|
||||||
|
if (CollectionUtils.isEmpty(testCasePageProviderRequest.getProtocols())) {
|
||||||
|
return new ArrayList<>();
|
||||||
|
}
|
||||||
return extApiTestCaseMapper.listByProviderRequest(sourceType, sourceName, apiCaseColumnName, testCasePageProviderRequest, false);
|
return extApiTestCaseMapper.listByProviderRequest(sourceType, sourceName, apiCaseColumnName, testCasePageProviderRequest, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue