|
@@ -1,5 +1,6 @@
|
|
|
package com.fdkankan.contro.service.impl;
|
|
|
|
|
|
+import cn.hutool.core.io.FileUtil;
|
|
|
import com.alibaba.fastjson.JSONObject;
|
|
|
import com.fdkankan.common.util.DateUtil;
|
|
|
import com.fdkankan.common.util.FileUtils;
|
|
@@ -97,6 +98,10 @@ public class IFdkkLaserServiceImpl implements IFdkkLaserService {
|
|
|
FileUtils.copyDirectiory(dataSource + "/results/mesh", jgPath + "/laserData/mesh");
|
|
|
|
|
|
FileUtils.copyDirectiory(dataSource + "/results/laserData/cover", jgPath + "/extras");
|
|
|
+ //删除旧的深度图
|
|
|
+ if(FileUtil.exist( jgPath+"/laserData/depthmap/")){
|
|
|
+ FileUtil.del(jgPath+"/laserData/depthmap/");
|
|
|
+ }
|
|
|
FileUtils.copyFile(dataSource + "/results/laserData", jgPath, true);
|
|
|
|
|
|
updateSceneStatus(sceneNum, 2, jgPath + File.separator + "laserData",createTime, algorithmTime, shootCount);
|