From 7c63b60b97dedc3340e51b3f494acf7f1e882652 Mon Sep 17 00:00:00 2001 From: chenjianxing Date: Tue, 28 Sep 2021 17:12:13 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20--bug=3D1006969=20--user=3D=E9=99=88?= =?UTF-8?q?=E5=BB=BA=E6=98=9F=20=E3=80=90github#6529=E3=80=91=E5=9C=A8?= =?UTF-8?q?=E5=90=8C=E4=B8=80=E4=B8=AAmeter=20sphere=E4=B8=8D=E5=90=8C?= =?UTF-8?q?=E5=B7=A5=E4=BD=9C=E7=A9=BA=E9=97=B4=EF=BC=8C=E4=B8=8D=E8=83=BD?= =?UTF-8?q?=E5=AD=98=E5=9C=A8=E5=90=8C=E4=B8=80=E4=B8=AA=E5=9C=BA=E6=99=AF?= =?UTF-8?q?=20https://www.tapd.cn/55049933/s/1052834?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/io/metersphere/api/service/ApiAutomationService.java | 1 + 1 file changed, 1 insertion(+) 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 c239140e80..3d99d21904 100644 --- a/backend/src/main/java/io/metersphere/api/service/ApiAutomationService.java +++ b/backend/src/main/java/io/metersphere/api/service/ApiAutomationService.java @@ -1860,6 +1860,7 @@ public class ApiAutomationService { List useUrl = this.parseUrl(scenarioWithBLOBs); scenarioWithBLOBs.setUseUrl(JSONArray.toJSONString(useUrl)); scenarioWithBLOBs.setOrder(getImportNextOrder(request.getProjectId())); + scenarioWithBLOBs.setId(UUID.randomUUID().toString()); batchMapper.insert(scenarioWithBLOBs); apiScenarioReferenceIdService.saveByApiScenario(scenarioWithBLOBs); }