fix(接口测试): 修复接口测试首页过去7天更新用例显示了回收站接口的bug

--bug=1018808 --user=宋天阳 【接口测试】接口测试-首页-过去7天有更新的接口,显示了回收站中的接口
https://www.tapd.cn/55049933/s/1276013
This commit is contained in:
song-tianyang 2022-10-25 11:43:15 +08:00 committed by f2c-ci-robot[bot]
parent e08918ef1e
commit adcfacecc8
1 changed files with 1 additions and 0 deletions

View File

@ -287,6 +287,7 @@ public class ApiDefinitionService {
return new ArrayList<>(0); return new ArrayList<>(0);
} else { } else {
request = this.initRequest(request, true, true); request = this.initRequest(request, true, true);
request.setNotEqStatus(ApiTestDataStatus.TRASH.getValue());
List<ApiDefinitionResult> resList = extApiDefinitionMapper.weekList(request, startTime.getTime()); List<ApiDefinitionResult> resList = extApiDefinitionMapper.weekList(request, startTime.getTime());
calculateResult(resList, request.getProjectId()); calculateResult(resList, request.getProjectId());
calculateResultSce(resList); calculateResultSce(resList);