From 2df05ad5bbeb8c1c325389ef15c77340dc29952e Mon Sep 17 00:00:00 2001 From: CaptainB Date: Fri, 19 Nov 2021 14:17:23 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=B5=8B=E8=AF=95=E8=B7=9F=E8=B8=AA):=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=AF=BC=E5=85=A5=E7=94=A8=E4=BE=8B=E6=97=B6?= =?UTF-8?q?=E6=B2=A1=E6=9C=89=E9=BB=98=E8=AE=A4status=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1008037 --user=刘瑞斌 【github#7818】v1.14.2版本,导入的测试用例,绑定到测试计划后列表中无法显示,只能在脑图里显示;平台创建的用例正常 https://www.tapd.cn/55049933/s/1070410 Closes #7818 --- .../main/java/io/metersphere/track/service/TestCaseService.java | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/src/main/java/io/metersphere/track/service/TestCaseService.java b/backend/src/main/java/io/metersphere/track/service/TestCaseService.java index 018c20f165..a0f9d3caed 100644 --- a/backend/src/main/java/io/metersphere/track/service/TestCaseService.java +++ b/backend/src/main/java/io/metersphere/track/service/TestCaseService.java @@ -657,6 +657,7 @@ public class TestCaseService { testcase.setCustomNum(String.valueOf(number)); } testcase.setReviewStatus(TestCaseReviewStatus.Prepare.name()); + testcase.setStatus(TestCaseReviewStatus.Prepare.name()); testcase.setOrder(nextOrder); mapper.insert(testcase); nextOrder += 5000;