Browse Source

重置户型图

dengsixing 3 years ago
parent
commit
e7e4fd6999

+ 3 - 0
4dkankan-center-scene/src/main/java/com/fdkankan/scene/service/impl/SceneProServiceImpl.java

@@ -4567,6 +4567,9 @@ public class SceneProServiceImpl extends ServiceImpl<ISceneProMapper, ScenePro>
             String meshPath =  String.format(ConstantFilePath.DATABUFFER_FORMAT, sceneNum) + "mesh";
             FileUtils.deleteDirectory(meshPath);
             CreateObjUtil.ossUtilCp(dataViewPath + "mesh", meshPath);
+            log.info("meshPath="+meshPath);
+            log.info("meshPath="+meshPath.concat("/mesh"));
+            log.info(new File(meshPath.concat("/mesh")).listFiles().toString());
             if(new File(meshPath.concat("/mesh")).listFiles().length > 0){
                 for(File file : new File(meshPath.concat("/mesh")).listFiles()){
                     if(file.getName().endsWith(".obj") && !"output.house.obj".equals(file.getName()) &&