From a9422f75500df60a0ad5e106675769f551b0cf29 Mon Sep 17 00:00:00 2001 From: song-tianyang Date: Tue, 25 Oct 2022 11:43:15 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=8E=A5=E5=8F=A3=E6=B5=8B=E8=AF=95):=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=8E=A5=E5=8F=A3=E6=B5=8B=E8=AF=95=E9=A6=96?= =?UTF-8?q?=E9=A1=B5=E8=BF=87=E5=8E=BB7=E5=A4=A9=E6=9B=B4=E6=96=B0?= =?UTF-8?q?=E7=94=A8=E4=BE=8B=E6=98=BE=E7=A4=BA=E4=BA=86=E5=9B=9E=E6=94=B6?= =?UTF-8?q?=E7=AB=99=E6=8E=A5=E5=8F=A3=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1018808 --user=宋天阳 【接口测试】接口测试-首页-过去7天有更新的接口,显示了回收站中的接口 https://www.tapd.cn/55049933/s/1276013 --- .../io/metersphere/service/definition/ApiDefinitionService.java | 1 + 1 file changed, 1 insertion(+) diff --git a/api-test/backend/src/main/java/io/metersphere/service/definition/ApiDefinitionService.java b/api-test/backend/src/main/java/io/metersphere/service/definition/ApiDefinitionService.java index 8663b3c4f5..1c2d747336 100644 --- a/api-test/backend/src/main/java/io/metersphere/service/definition/ApiDefinitionService.java +++ b/api-test/backend/src/main/java/io/metersphere/service/definition/ApiDefinitionService.java @@ -287,6 +287,7 @@ public class ApiDefinitionService { return new ArrayList<>(0); } else { request = this.initRequest(request, true, true); + request.setNotEqStatus(ApiTestDataStatus.TRASH.getValue()); List resList = extApiDefinitionMapper.weekList(request, startTime.getTime()); calculateResult(resList, request.getProjectId()); calculateResultSce(resList);