fix: --bug=1006969 --user=陈建星 【github#6529】在同一个meter sphere不同工作空间,不能存在同一个场景 https://www.tapd.cn/55049933/s/1052834
This commit is contained in:
parent
1b745d5c5b
commit
7c63b60b97
|
@ -1860,6 +1860,7 @@ public class ApiAutomationService {
|
||||||
List<ApiMethodUrlDTO> useUrl = this.parseUrl(scenarioWithBLOBs);
|
List<ApiMethodUrlDTO> useUrl = this.parseUrl(scenarioWithBLOBs);
|
||||||
scenarioWithBLOBs.setUseUrl(JSONArray.toJSONString(useUrl));
|
scenarioWithBLOBs.setUseUrl(JSONArray.toJSONString(useUrl));
|
||||||
scenarioWithBLOBs.setOrder(getImportNextOrder(request.getProjectId()));
|
scenarioWithBLOBs.setOrder(getImportNextOrder(request.getProjectId()));
|
||||||
|
scenarioWithBLOBs.setId(UUID.randomUUID().toString());
|
||||||
batchMapper.insert(scenarioWithBLOBs);
|
batchMapper.insert(scenarioWithBLOBs);
|
||||||
apiScenarioReferenceIdService.saveByApiScenario(scenarioWithBLOBs);
|
apiScenarioReferenceIdService.saveByApiScenario(scenarioWithBLOBs);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue