fix(接口测试): 接口用例删除后导出接口定义还会导出回收站里的用例问题修复

--bug=1010036 --user=周骏弘 【接口测试】接口用例删除后,导出接口定义,还会导出回收站里的用例 https://www.tapd.cn/55049933/s/1099892
This commit is contained in:
junhong 2022-01-27 14:25:11 +08:00 committed by john1298308460
parent eb45e07cb8
commit e5fd6edfa4
1 changed files with 1 additions and 1 deletions

View File

@ -648,7 +648,7 @@ public class ApiTestCaseService {
public List<ApiTestCaseWithBLOBs> selectCasesBydApiIds(List<String> apiIds) {
ApiTestCaseExample example = new ApiTestCaseExample();
example.createCriteria().andApiDefinitionIdIn(apiIds);
example.createCriteria().andApiDefinitionIdIn(apiIds).andStatusNotEqualTo("Trash");
return apiTestCaseMapper.selectByExampleWithBLOBs(example);
}