|
@@ -365,15 +365,6 @@ public class SceneProServiceImpl extends ServiceImpl<ISceneProMapper, ScenePro>
|
|
|
// throw new BusinessException(ResultCode.MOVE_ERROR_COPY);
|
|
|
// }
|
|
|
|
|
|
- if((cameraDetail.getType() == 10 || cameraDetail.getType() == 11) && status ==-2) { //深时场景
|
|
|
- //迁移深时 dataSource
|
|
|
- File file = new File(dataSource + "_laserData");
|
|
|
- if (!file.exists()) {
|
|
|
- log.info("迁移失败--dataSource:{},sceneNum:{},toSnCode:{}",dataSource + "_laserData",param.getNum(),param.getSnCode());
|
|
|
- throw new BusinessException(ResultCode.MOVE_ERROR);
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
Long oldUseSpace = oldCameraDetail.getUsedSpace() - space < 0 ? 0 : oldCameraDetail.getUsedSpace() - space;
|
|
|
if("GB".equals(oldCameraDetail.getUnit())){
|
|
|
oldUseSpace = 1L;
|