Quellcode durchsuchen

Merge branch 'feature-俊波要求上传额外文件' into test

dengsixing vor 9 Monaten
Ursprung
Commit
b460aff50e

+ 4 - 0
src/main/java/com/fdkankan/contro/mq/service/impl/BuildSceneServiceImpl.java

@@ -443,12 +443,16 @@ public class BuildSceneServiceImpl implements IBuildSceneService {
     void uploadFreespace(String num, String path, Map<String, String> map){
         String plyPath = path + "/results/laserData/cover/final_freespace.ply";
         String pngPath = path + "/results/laserData/cover/final_freespace.png";
+        String infoJsonPath = path + "/results/laserData/cover/info.json";
         if(FileUtil.exist(plyPath)){
             map.put(plyPath, String.format(UploadFilePath.IMG_VIEW_PATH, num) + "cover/" + FileUtil.getName(plyPath));
         }
         if(FileUtil.exist(pngPath)){
             map.put(pngPath, String.format(UploadFilePath.IMG_VIEW_PATH, num) + "cover/" + FileUtil.getName(pngPath));
         }
+        if(FileUtil.exist(infoJsonPath)){
+            map.put(infoJsonPath, String.format(UploadFilePath.IMG_VIEW_PATH, num) + "cover/" + FileUtil.getName(infoJsonPath));
+        }
     }
     private void sendMqToPackScene4Scrb(String num){
         ScenePlus scenePlus = scenePlusService.getScenePlusByNum(num);