|
@@ -689,6 +689,10 @@ public class SceneProServiceImpl extends ServiceImpl<ISceneProMapper, ScenePro>
|
|
|
if(countByNewNum >0){
|
|
|
throw new BusinessException(ResultCode.COPY_NUM_NOTREBUILD);
|
|
|
}
|
|
|
+ SceneColdStorage coldStorage = sceneColdStorageService.getByNum(num);
|
|
|
+ if(coldStorage != null){
|
|
|
+ throw new BusinessException(ResultCode.SCENE_REBUILD_ERROR2);
|
|
|
+ }
|
|
|
|
|
|
if(!fYunFileServiceInterface.fileExist(dataSource.replace("/mnt/data","home")+"/data.fdage")){
|
|
|
throw new BusinessException(ResultCode.SCENE_REBUILD_ERROR);
|