瀏覽代碼

生成obj需要依赖ossResultPath + "caches/floor_group_fix.json"文件,生成obj接口增加判断

dsx 2 年之前
父節點
當前提交
c2128e99b1
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      src/main/java/com/fdkankan/ucenter/service/impl/SceneProServiceImpl.java

+ 2 - 1
src/main/java/com/fdkankan/ucenter/service/impl/SceneProServiceImpl.java

@@ -1233,7 +1233,8 @@ public class SceneProServiceImpl extends ServiceImpl<ISceneProMapper, ScenePro>
                 || CollUtil.isEmpty(fYunFileService.listRemoteFiles(ossResultPath + "caches/depthmap"))
                 || CollUtil.isEmpty(fYunFileService.listRemoteFiles(ossResultPath + "caches/depthmap_csc"))
                 || !fYunFileService.fileExist(ossResultPath + "caches/panorama.json")
-                || !fYunFileService.fileExist(ossResultPath + "results/laserData/laser.ply")){
+                || !fYunFileService.fileExist(ossResultPath + "results/laserData/laser.ply")
+                || !fYunFileService.fileExist(ossResultPath + "caches/floor_group_fix.json")){
             throw new BusinessException(SceneConstant.FAILURE_CODE_5038, SceneConstant.FAILURE_MSG_5038);
         }
 //        String path = scenePlusExt.getDataSource();