|
@@ -730,6 +730,10 @@ public class SceneEditInfoServiceImpl extends ServiceImpl<ISceneEditInfoMapper,
|
|
|
result.put("version", "2.1");
|
|
|
|
|
|
String floorplanCadPath = String.format(UploadFilePath.DATA_VIEW_PATH, num) + "floorplan_cad.json";
|
|
|
+ if(!fYunFileService.fileExist(bucket, floorplanCadPath)){
|
|
|
+ log.warn("生成houseType.json失败,原因:floorplan_cad.json文件不存在,num:{}", num);
|
|
|
+ return;
|
|
|
+ }
|
|
|
String floorcadStr = fYunFileService.getFileContent(bucket, floorplanCadPath);
|
|
|
|
|
|
JSONObject floorcadObj = JSON.parseObject(floorcadStr);
|