From ca95403adcf849e4172d2e0dafa66686c4f3e95b Mon Sep 17 00:00:00 2001 From: CaptainB Date: Sat, 22 Jan 2022 10:51:40 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E5=9C=BA=E6=99=AF=E5=AF=BC=E5=85=A5):=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=A6=86=E7=9B=96=E5=AF=BC=E5=85=A5=E5=9C=BA?= =?UTF-8?q?=E6=99=AF=E6=B2=A1=E6=9C=89order=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1009819 --user=刘瑞斌 【接口测试】导入jmx场景选择覆盖报错 https://www.tapd.cn/55049933/s/1095972 --- .../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 4b7091c45b..7af3fe9dd4 100644 --- a/backend/src/main/java/io/metersphere/api/service/ApiAutomationService.java +++ b/backend/src/main/java/io/metersphere/api/service/ApiAutomationService.java @@ -1222,6 +1222,7 @@ public class ApiAutomationService { scenarioWithBLOBs.setId(existScenario.getId()); scenarioWithBLOBs.setRefId(existScenario.getRefId()); scenarioWithBLOBs.setVersionId(apiTestImportRequest.getUpdateVersionId()); + scenarioWithBLOBs.setOrder(existScenario.getOrder()); scenarioWithBLOBs.setNum(existScenario.getNum()); List useUrl = this.parseUrl(scenarioWithBLOBs); scenarioWithBLOBs.setUseUrl(JSONArray.toJSONString(useUrl));