|
@@ -159,7 +159,8 @@ public class BuildObjServiceImpl implements IBuildSceneService {
|
|
|
public void downLoadSource(BuildSceneCallMessage message,String path) throws Exception{
|
|
|
|
|
|
String ossResultPath = String.format(UploadFilePath.scene_result_data_path, message.getSceneNum());
|
|
|
- fYunFileService.downloadFile(ossResultPath + "caches/reconstruction/final.bin", path + "/caches/reconstruction/final.bin");
|
|
|
+ fYunFileService.download
|
|
|
+ 13File(ossResultPath + "caches/reconstruction/final.bin", path + "/caches/reconstruction/final.bin");
|
|
|
fYunFileService.downloadFile(ossResultPath + "caches/reconstruction/chunk.json", path + "/caches/reconstruction/chunk.json");
|
|
|
fYunFileService.downloadFile(ossResultPath + "caches/floor_group_fix.json", path + "/caches/floor_group_fix.json");
|
|
|
fYunFileService.downloadFileByCommand(path + "/caches/images/", ossResultPath + "caches/images/");
|
|
@@ -273,6 +274,7 @@ public class BuildObjServiceImpl implements IBuildSceneService {
|
|
|
&& sdTilesSceneSourceList.contains(SceneSource.JG.code())){
|
|
|
ScenePlusExt scenePlusExt = scenePlusExtService.getScenePlusExtByPlusId(scenePlus.getId());
|
|
|
scenePlusExt.setModelKind(ModelKind.THREE_D_TILE.code());
|
|
|
+ scenePlusExtService.updateById(scenePlusExt);
|
|
|
|
|
|
String sceneJsonStr = fYunFileService.getFileContent(String.format(UploadFilePath.DATA_VIEW_PATH, projectNum) + "scene.json");
|
|
|
if(StrUtil.isNotEmpty(sceneJsonStr)){
|