From e266fb1adb4a89d9e55a1547dad8971148ffe797 Mon Sep 17 00:00:00 2001 From: baiqi Date: Wed, 30 Oct 2024 09:44:34 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=8E=A5=E5=8F=A3=E6=B5=8B=E8=AF=95):=20?= =?UTF-8?q?=E5=AF=BC=E5=85=A5=E5=9C=BA=E6=99=AF=E8=A1=A5=E5=85=85=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=E7=94=A8=E4=BE=8B=E7=AE=97=E6=B3=95=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../metersphere/api/service/ApiScenarioDataTransferService.java | 1 - 1 file changed, 1 deletion(-) diff --git a/backend/services/api-test/src/main/java/io/metersphere/api/service/ApiScenarioDataTransferService.java b/backend/services/api-test/src/main/java/io/metersphere/api/service/ApiScenarioDataTransferService.java index 807320aa18..413ce82dd8 100644 --- a/backend/services/api-test/src/main/java/io/metersphere/api/service/ApiScenarioDataTransferService.java +++ b/backend/services/api-test/src/main/java/io/metersphere/api/service/ApiScenarioDataTransferService.java @@ -1024,7 +1024,6 @@ public class ApiScenarioDataTransferService { if (existenceApiCaseNumMap.containsKey(apiTestCaseDTO.getNum())) { returnResource.putApiTestCase(apiTestCaseDTO.getId(), existenceApiCaseNumMap.get(apiTestCaseDTO.getNum())); } else { - apiTestCaseDTO.setProjectId(targetProjectId); returnResource.putApiTestCase(apiTestCaseDTO.getId(), apiTestCaseDTO); apiTestCaseDTO.setId(IDGenerator.nextStr()); apiTestCaseDTO.setName(apiTestCaseDTO.getName() + "_" + System.currentTimeMillis());