|
@@ -96,6 +96,12 @@ public class BuildReverseE57SceneServiceImpl implements IBuildSceneService {
|
|
|
String destPath = dataSource + "/capture/" + FileUtil.getName(zipPath);
|
|
|
fyunUtil.yunDownloadSs(fyunType, bucket, zipPath, destPath);
|
|
|
ZipUtil.unzip(destPath, dataSource + "/capture/", CharsetUtil.CHARSET_GBK);
|
|
|
+ List<File> files = FileUtil.loopFiles(dataSource + "/capture/");
|
|
|
+ files.stream().forEach(file->{
|
|
|
+ if(file.getAbsolutePath().endsWith(".e57")){
|
|
|
+ FileUtil.rename(file, "input.e57", true);
|
|
|
+ }
|
|
|
+ });
|
|
|
|
|
|
//发送mq,就进行计算
|
|
|
// message.setPath(path);
|