Browse Source

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

dsx 2 years ago
parent
commit
c2128e99b1

+ 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();