fix(场景导入): 修复覆盖导入场景没有order的问题
--bug=1009819 --user=刘瑞斌 【接口测试】导入jmx场景选择覆盖报错 https://www.tapd.cn/55049933/s/1095972
This commit is contained in:
parent
22a31b270f
commit
ca95403adc
|
@ -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<ApiMethodUrlDTO> useUrl = this.parseUrl(scenarioWithBLOBs);
|
||||
scenarioWithBLOBs.setUseUrl(JSONArray.toJSONString(useUrl));
|
||||
|
|
Loading…
Reference in New Issue