From 4f5387bf8beab86f64bc5d6a85f4b99a28aa435c Mon Sep 17 00:00:00 2001 From: shiziyuan9527 Date: Thu, 6 May 2021 18:11:49 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=8E=B7=E5=8F=96=E6=98=AF=E5=90=A6?= =?UTF-8?q?=E5=BC=80=E5=90=AF=E5=9C=BA=E6=99=AFID=E8=87=AA=E5=AE=9A?= =?UTF-8?q?=E4=B9=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/io/metersphere/api/service/ApiAutomationService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/main/java/io/metersphere/api/service/ApiAutomationService.java b/backend/src/main/java/io/metersphere/api/service/ApiAutomationService.java index 4500f158d5..26da7f7ef7 100644 --- a/backend/src/main/java/io/metersphere/api/service/ApiAutomationService.java +++ b/backend/src/main/java/io/metersphere/api/service/ApiAutomationService.java @@ -249,7 +249,7 @@ public class ApiAutomationService { String projectId = request.getProjectId(); Project project = projectMapper.selectByPrimaryKey(projectId); if (project != null) { - Boolean customNum = project.getCustomNum(); + Boolean customNum = project.getScenarioCustomNum(); // 未开启自定义ID if (!customNum) { request.setCustomNum(null);