fix(接口测试): 接口用例删除后导出接口定义还会导出回收站里的用例问题修复
--bug=1010036 --user=周骏弘 【接口测试】接口用例删除后,导出接口定义,还会导出回收站里的用例 https://www.tapd.cn/55049933/s/1099892
This commit is contained in:
parent
eb45e07cb8
commit
e5fd6edfa4
|
@ -648,7 +648,7 @@ public class ApiTestCaseService {
|
||||||
|
|
||||||
public List<ApiTestCaseWithBLOBs> selectCasesBydApiIds(List<String> apiIds) {
|
public List<ApiTestCaseWithBLOBs> selectCasesBydApiIds(List<String> apiIds) {
|
||||||
ApiTestCaseExample example = new ApiTestCaseExample();
|
ApiTestCaseExample example = new ApiTestCaseExample();
|
||||||
example.createCriteria().andApiDefinitionIdIn(apiIds);
|
example.createCriteria().andApiDefinitionIdIn(apiIds).andStatusNotEqualTo("Trash");
|
||||||
return apiTestCaseMapper.selectByExampleWithBLOBs(example);
|
return apiTestCaseMapper.selectByExampleWithBLOBs(example);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue