|
@@ -110,6 +110,7 @@ public class SceneRepairController {
|
|
|
SceneProExt sceneProExt = sceneProExtService.getOne(
|
|
|
new LambdaQueryWrapper<SceneProExt>().eq(SceneProExt::getSceneProId, scenePro.getId()));
|
|
|
String path = sceneProExt.getDataSource();
|
|
|
+ log.info("计算结果路径:" + path + "/caches/images");
|
|
|
List<String> imagesList = FileUtil.getFileList(path + "/caches/images");
|
|
|
|
|
|
String imagesCachePath = "/mnt/4Dkankan/scene/" + num;
|
|
@@ -117,6 +118,7 @@ public class SceneRepairController {
|
|
|
List<String> panoramaImageList = SceneUtil.getPanoramaImageList(visionPath);
|
|
|
imagesList.stream().forEach(srcPath -> {
|
|
|
if(panoramaImageList.contains(srcPath)){
|
|
|
+ log.info("源文件:{}, 目标文件:{}", srcPath, srcPath.replace(path, imagesCachePath));
|
|
|
cn.hutool.core.io.FileUtil.copy(srcPath, srcPath.replace(path, imagesCachePath), true);
|
|
|
}
|
|
|
});
|