|
@@ -1322,10 +1322,14 @@ public class SceneFileBuildServiceImpl extends ServiceImpl<ISceneFileBuildMapper
|
|
|
String time = com.fdkankan.common.util.DateUtil.date2String(new Date(), com.fdkankan.common.util.DateUtil.YYYYMMDDHHMMSSSSS_DATA_FORMAT);
|
|
|
newDataPath[5] = newDataPath[5].split("_")[0] + "_" + time;
|
|
|
String newDataSource = Arrays.stream(newDataPath).collect(Collectors.joining("/"));
|
|
|
- fYunFileService.copyFileInBucket(dataSource,newDataSource);
|
|
|
+
|
|
|
+ String newFYunPath = ConstantFilePath.OSS_PREFIX + newDataSource.replace(ConstantFilePath.BUILD_MODEL_PATH, "")
|
|
|
+ .replace(ConstantFilePath.BUILD_MODEL_LASER_PATH, "");
|
|
|
+
|
|
|
+ fYunFileService.copyFileInBucket(fYunPath,newFYunPath);
|
|
|
|
|
|
fdageData.put("uuidtime",time);
|
|
|
- fYunFileService.uploadFile(fdageData.toJSONString().getBytes(),newDataSource+"/data.fdage");
|
|
|
+ fYunFileService.uploadFile(fdageData.toJSONString().getBytes(),newFYunPath+"/data.fdage");
|
|
|
|
|
|
dataSource = newDataSource;
|
|
|
|