|
@@ -927,7 +927,9 @@ public class SceneProServiceImpl extends ServiceImpl<ISceneProMapper, ScenePro>
|
|
|
throw new BusinessException(SceneConstant.FAILURE_CODE_5034, SceneConstant.FAILURE_MSG_5034);
|
|
|
}
|
|
|
SceneInfoVo infoVo = new SceneInfoVo();
|
|
|
+ String dataSource = null;
|
|
|
if(scenePro!=null){
|
|
|
+ dataSource = scenePro.getDataSource();
|
|
|
SceneProEdit sceneProEdit = sceneProEditService.getByProId(scenePro.getId());
|
|
|
if(sceneProEdit !=null){
|
|
|
BeanUtils.copyProperties(sceneProEdit, infoVo);
|
|
@@ -950,8 +952,14 @@ public class SceneProServiceImpl extends ServiceImpl<ISceneProMapper, ScenePro>
|
|
|
BeanUtils.copyProperties(scenePlus,infoVo);
|
|
|
infoVo.setSceneName(scenePlus.getTitle());
|
|
|
infoVo.setStatus(scenePlus.getSceneStatus());
|
|
|
+ dataSource = scenePlusExt.getDataSource();
|
|
|
+ }
|
|
|
+
|
|
|
+ if(dataSource != null){
|
|
|
+ if(!fYunFileService.fileExist(dataSource.replace("/mnt/data","home") +"/data.fdage")){
|
|
|
+ infoVo.setResourceDel(1);
|
|
|
+ }
|
|
|
}
|
|
|
-
|
|
|
|
|
|
if(StringUtils.isNotEmpty(infoVo.getEntry())){
|
|
|
infoVo.setEntry(JSONObject.parseObject(infoVo.getEntry()).toJSONString());
|