|
@@ -116,6 +116,8 @@ public class CommonServiceImpl implements ICommonService {
|
|
|
private SceneShapeEnumService sceneShapeEnumService;
|
|
|
@Autowired
|
|
|
private ISceneFileUploadService sceneFileUploadService;
|
|
|
+ @Autowired
|
|
|
+ private IRtkService rtkService;
|
|
|
|
|
|
public static void main(String[] args) {
|
|
|
String infoJsonPath = "D:\\test\\info.json";
|
|
@@ -390,6 +392,7 @@ public class CommonServiceImpl implements ICommonService {
|
|
|
}
|
|
|
|
|
|
public Object[] updateEditInfo(ScenePlus scenePlus){
|
|
|
+ ScenePlusExt scenePlusExt = scenePlusExtService.getScenePlusExtByPlusId(scenePlus.getId());
|
|
|
SceneEditInfo sceneEditInfo = sceneEditInfoService.getByScenePlusId(scenePlus.getId());
|
|
|
SceneEditControls sceneEditControls = null;
|
|
|
SceneEditInfoExt sceneEditInfoExt = null;
|
|
@@ -434,6 +437,10 @@ public class CommonServiceImpl implements ICommonService {
|
|
|
if(sceneEditControls == null){
|
|
|
sceneEditControls = new SceneEditControls();
|
|
|
sceneEditControls.setEditInfoId(sceneEditInfo.getId());
|
|
|
+ Integer mapStatus = rtkService.getMapStatus(scenePlusExt.getDataSource());
|
|
|
+ if(mapStatus == 1){
|
|
|
+ sceneEditControls.setShowMap(3);
|
|
|
+ }
|
|
|
sceneEditControlsService.save(sceneEditControls);
|
|
|
}
|
|
|
if(sceneEditInfoExt == null){
|