From b7650a129f4eeaab0305ff45cd9705ab5de413ce Mon Sep 17 00:00:00 2001 From: song-tianyang Date: Tue, 16 Nov 2021 16:39:40 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=B5=8B=E8=AF=95=E8=AE=A1=E5=88=92):=20#1?= =?UTF-8?q?007972=20=E3=80=90=E6=B5=8B=E8=AF=95=E8=B7=9F=E8=B8=AA=E3=80=91?= =?UTF-8?q?=E6=B5=8B=E8=AF=95=E8=AE=A1=E5=88=92=E5=88=97=E8=A1=A8=E6=89=A7?= =?UTF-8?q?=E8=A1=8C=EF=BC=8C=E4=BB=BB=E5=8A=A1=E4=B8=AD=E5=BF=83=E6=B2=A1?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E8=AE=A1=E5=88=92=E9=87=8C=E7=9A=84=E7=94=A8?= =?UTF-8?q?=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1007972 --user=宋天阳 【测试跟踪】测试计划列表执行,任务中心没显示计划里的用例 https://www.tapd.cn/55049933/s/1068386 --- .../metersphere/api/service/ApiDefinitionExecResultService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/main/java/io/metersphere/api/service/ApiDefinitionExecResultService.java b/backend/src/main/java/io/metersphere/api/service/ApiDefinitionExecResultService.java index bbacaef326..02c6c7e365 100644 --- a/backend/src/main/java/io/metersphere/api/service/ApiDefinitionExecResultService.java +++ b/backend/src/main/java/io/metersphere/api/service/ApiDefinitionExecResultService.java @@ -182,7 +182,7 @@ public class ApiDefinitionExecResultService { if (id.indexOf(DelimiterConstants.SEPARATOR.toString()) != -1) { return id.substring(0, id.indexOf(DelimiterConstants.SEPARATOR.toString())); } - if (StringUtils.equalsAnyIgnoreCase(type, ApiRunMode.API_PLAN.name(), ApiRunMode.SCHEDULE_API_PLAN.name(), ApiRunMode.JENKINS_API_PLAN.name())) { + if (StringUtils.equalsAnyIgnoreCase(type, ApiRunMode.API_PLAN.name(), ApiRunMode.SCHEDULE_API_PLAN.name(), ApiRunMode.JENKINS_API_PLAN.name(), ApiRunMode.MANUAL_PLAN.name())) { TestPlanApiCase testPlanApiCase = testPlanApiCaseService.getById(id); ApiTestCaseWithBLOBs caseWithBLOBs = null; if (testPlanApiCase != null) {