|
@@ -276,7 +276,7 @@ public class SceneServiceImpl extends ServiceImpl<ISceneMapper, Scene> implement
|
|
|
ossUtil.copyObject(oldBucket, oldViewPath, bucket, newViewPath);
|
|
|
|
|
|
//复制计算目录
|
|
|
- FileUtil.copy(oldDataSource, dataSource, true);
|
|
|
+ FileUtil.copyContent(new File(oldDataSource), new File(dataSource), true);
|
|
|
|
|
|
scenePlus.setSceneStatus(-2);
|
|
|
scenePlusService.updateById(scenePlus);
|
|
@@ -306,7 +306,7 @@ public class SceneServiceImpl extends ServiceImpl<ISceneMapper, Scene> implement
|
|
|
if(sceneSource == 4){//D:\4DMega\4DKK_PROGRAM_DATA\dvt600001_202206291618176080\web_laserData\laserData
|
|
|
dataSource = dataSource.substring(0, dataSource.indexOf("web_laserData"));
|
|
|
}else{
|
|
|
- dataSource.concat(File.separator);
|
|
|
+ dataSource = dataSource.concat(File.separator);
|
|
|
}
|
|
|
return dataSource;
|
|
|
}
|