|
@@ -612,13 +612,16 @@ public class MultiSimulationProjectServiceImpl implements MultiSimulationProject
|
|
|
}
|
|
|
}
|
|
|
List<MultiSimulationSceneCarVO> ids = new ArrayList<>();
|
|
|
+ int order = 1;
|
|
|
for (MultiSimulationSceneCarParam param : paramList) {
|
|
|
param.setMapId(mapId);
|
|
|
+ param.setCarSort(order);
|
|
|
ResponseBodyVO<MultiSimulationSceneCarVO> responseBodyVO = addOrUpdateMultiSimulationSceneCar(param);
|
|
|
if (responseBodyVO.getCode() != 200) {
|
|
|
throw new RuntimeException("操作失败");
|
|
|
}
|
|
|
ids.add(responseBodyVO.getInfo());
|
|
|
+ order ++;
|
|
|
}
|
|
|
String oldMapId = sceneVO.getMapId();
|
|
|
if (!StringUtils.equals(oldMapId, sceneCarParam.getMapId())){
|