|
@@ -63,9 +63,10 @@ public class SceneMarkShapeBoxServiceImpl extends ServiceImpl<MarkShapeBoxMapper
|
|
SceneMarkShapeBoxPostDTO sceneMarkShapeBoxPostVO =new SceneMarkShapeBoxPostDTO(sceneNum,sceneMarkShapes);
|
|
SceneMarkShapeBoxPostDTO sceneMarkShapeBoxPostVO =new SceneMarkShapeBoxPostDTO(sceneNum,sceneMarkShapes);
|
|
ResultData res = shapesBoxClient.post(planeCovertBasePathUrl + planeCovert, JSONObject.toJSONString(sceneMarkShapeBoxPostVO));
|
|
ResultData res = shapesBoxClient.post(planeCovertBasePathUrl + planeCovert, JSONObject.toJSONString(sceneMarkShapeBoxPostVO));
|
|
log.info("请求node转换服务-{}",res);
|
|
log.info("请求node转换服务-{}",res);
|
|
|
|
+ SceneMarkShapeBox data = null;
|
|
if (res.getCode()==200){
|
|
if (res.getCode()==200){
|
|
JSONObject resData = (JSONObject)res.getData();
|
|
JSONObject resData = (JSONObject)res.getData();
|
|
- SceneMarkShapeBox data= JSONObject.parseObject(resData.toJSONString(),SceneMarkShapeBox.class);
|
|
|
|
|
|
+ data = JSONObject.parseObject(resData.toJSONString(),SceneMarkShapeBox.class);
|
|
SceneMarkShapeBox sceneMarkShapeBox = findBySceneNum(sceneNum);
|
|
SceneMarkShapeBox sceneMarkShapeBox = findBySceneNum(sceneNum);
|
|
if (ObjectUtil.isNotNull(sceneMarkShapeBox)){
|
|
if (ObjectUtil.isNotNull(sceneMarkShapeBox)){
|
|
log.info("存在shapesBox数据进行替换");
|
|
log.info("存在shapesBox数据进行替换");
|
|
@@ -79,7 +80,7 @@ public class SceneMarkShapeBoxServiceImpl extends ServiceImpl<MarkShapeBoxMapper
|
|
return data;
|
|
return data;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- return null;
|
|
|
|
|
|
+ return data;
|
|
}
|
|
}
|
|
|
|
|
|
@Override
|
|
@Override
|