|
@@ -159,6 +159,17 @@ public class V4toV3Handler {
|
|
|
|
|
|
fYunFileService.downloadFile(dataViewPath + "floorplan_cad.json", ConstantFilePath.SCENE_PATH + "data" + File.separator + "data" + num + File.separator + "floor.json");
|
|
|
fYunFileService.uploadFile(ConstantFilePath.SCENE_PATH + "data" + File.separator + "data" + num + File.separator + "floor.json", dataViewPath + "floor.json");
|
|
|
+
|
|
|
+ //
|
|
|
+ if(!FileUtil.exist(scenePlusExt.getDataSource())){
|
|
|
+ String ossResultPath = String.format(UploadFilePath.scene_result_data_path, num);
|
|
|
+ List<String> resultList = fYunFileService.listRemoteFiles(ossResultPath);
|
|
|
+ if(CollUtil.isNotEmpty(resultList)){
|
|
|
+ resultList.stream().forEach(key->{
|
|
|
+ fYunFileService.downloadFile(key, key.replace(ossResultPath, scenePlusExt.getDataSource() + "/"));
|
|
|
+ });
|
|
|
+ }
|
|
|
+ }
|
|
|
}catch (Exception e){
|
|
|
faildNumList.add(plus.getNum());
|
|
|
log.error("转换失败,num:" + num, e);
|