|
@@ -102,6 +102,12 @@ public class BuildReverseE57SceneServiceImpl implements IBuildSceneService {
|
|
//下载资源到本地
|
|
//下载资源到本地
|
|
String destPath = dataSource + "/capture/";
|
|
String destPath = dataSource + "/capture/";
|
|
fYunFileService.downloadFileByCommand(destPath, key);
|
|
fYunFileService.downloadFileByCommand(destPath, key);
|
|
|
|
+ List<File> files = FileUtil.loopFiles(dataSource + "/capture/");
|
|
|
|
+ files.stream().forEach(file->{
|
|
|
|
+ if(file.getAbsolutePath().endsWith(".e57")){
|
|
|
|
+ FileUtil.rename(file, "input.e57", true);
|
|
|
|
+ }
|
|
|
|
+ });
|
|
|
|
|
|
//发送mq,就进行计算
|
|
//发送mq,就进行计算
|
|
// message.setPath(path);
|
|
// message.setPath(path);
|