|
@@ -1,6 +1,5 @@
|
|
|
package com.fdkankan.ucenter.service.impl;
|
|
|
|
|
|
-import cn.hutool.core.collection.CollUtil;
|
|
|
import cn.hutool.core.io.FileUtil;
|
|
|
import cn.hutool.json.JSONUtil;
|
|
|
import com.alibaba.fastjson.JSONObject;
|
|
@@ -1227,9 +1226,9 @@ public class SceneProServiceImpl extends ServiceImpl<ISceneProMapper, ScenePro>
|
|
|
String ossReconstruction = ossResultPath + "caches/reconstruction/";
|
|
|
if(!fYunFileService.fileExist(ossReconstruction + "final.bin")
|
|
|
|| !fYunFileService.fileExist(ossReconstruction + "chunk.json")
|
|
|
- || CollUtil.isEmpty(fYunFileService.listRemoteFiles(ossResultPath + "caches/images"))
|
|
|
- || CollUtil.isEmpty(fYunFileService.listRemoteFiles(ossResultPath + "caches/depthmap"))
|
|
|
- || CollUtil.isEmpty(fYunFileService.listRemoteFiles(ossResultPath + "caches/depthmap_csc"))
|
|
|
+ || !fYunFileService.fileExist(ossResultPath + "caches/images")
|
|
|
+ || !fYunFileService.fileExist(ossResultPath + "caches/depthmap")
|
|
|
+ || !fYunFileService.fileExist(ossResultPath + "caches/depthmap_csc")
|
|
|
|| !fYunFileService.fileExist(ossResultPath + "caches/panorama.json")
|
|
|
|| !fYunFileService.fileExist(ossResultPath + "results/laserData/laser.ply")){
|
|
|
throw new BusinessException(SceneConstant.FAILURE_CODE_5038, SceneConstant.FAILURE_MSG_5038);
|