|
@@ -191,10 +191,10 @@ public class BuildIntermitSceneServiceImpl implements IBuildSceneService {
|
|
//统计原始资源大小
|
|
//统计原始资源大小
|
|
scenePlusExt.setOrigSpace(FileUtil.size(new File(path.concat(File.separator).concat("capture"))));
|
|
scenePlusExt.setOrigSpace(FileUtil.size(new File(path.concat(File.separator).concat("capture"))));
|
|
|
|
|
|
- //删除计算目录
|
|
|
|
- if(CollUtil.isEmpty(notDeleteNasNumList) || !notDeleteNasNumList.contains(sceneCode)){
|
|
|
|
- CreateObjUtil.deleteFile(path.replace(ConstantFilePath.BUILD_MODEL_PATH, "/"));
|
|
|
|
- }
|
|
|
|
|
|
+// //删除计算目录
|
|
|
|
+// if(CollUtil.isEmpty(notDeleteNasNumList) || !notDeleteNasNumList.contains(sceneCode)){
|
|
|
|
+// CreateObjUtil.deleteFile(path.replace(ConstantFilePath.BUILD_MODEL_PATH, "/"));
|
|
|
|
+// }
|
|
|
|
|
|
//如果相机容量不足,需要把场景的paystatus改为容量不足状态
|
|
//如果相机容量不足,需要把场景的paystatus改为容量不足状态
|
|
scenePlus.setPayStatus(commonService.getPayStatus(scenePlus.getCameraId(), space));
|
|
scenePlus.setPayStatus(commonService.getPayStatus(scenePlus.getCameraId(), space));
|