|
@@ -459,7 +459,7 @@ public class SceneProServiceImpl extends ServiceImpl<ISceneProMapper, ScenePro>
|
|
|
jobj.put("camera",newSnCode.toLowerCase());
|
|
|
}
|
|
|
}
|
|
|
- jsonObject.put("creator",newSnCode);
|
|
|
+ jsonObject.put("creator",newSnCode.toLowerCase());
|
|
|
return jsonObject;
|
|
|
}
|
|
|
|
|
@@ -467,7 +467,7 @@ public class SceneProServiceImpl extends ServiceImpl<ISceneProMapper, ScenePro>
|
|
|
String localPathFdage = null;
|
|
|
try {
|
|
|
String fdagePaht = dataSource.replace("/mnt/data","home") +"/data.fdage";
|
|
|
- localPathFdage = String.format(OssPath.localFdagePath,fdagePaht)+"/data.fdage";
|
|
|
+ localPathFdage = String.format(OssPath.localFdagePath,fdagePaht);
|
|
|
String fileContent = fYunFileServiceInterface.getFileContent(fdagePaht);
|
|
|
|
|
|
JSONObject jsonObject = updateFdageJson(JSONObject.parseObject(fileContent), newSnCode);
|
|
@@ -490,7 +490,7 @@ public class SceneProServiceImpl extends ServiceImpl<ISceneProMapper, ScenePro>
|
|
|
log.error("updateFdage-error:",e);
|
|
|
}finally {
|
|
|
if(localPathFdage != null){
|
|
|
- FileUtil.del(localPathFdage);
|
|
|
+ //FileUtil.del(localPathFdage);
|
|
|
}
|
|
|
}
|
|
|
}
|