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));