瀏覽代碼

Merge branch 'feature-故宫博物馆需求-20240925' into test

dengsixing 11 月之前
父節點
當前提交
d3038321e0
共有 1 個文件被更改,包括 6 次插入0 次删除
  1. 6 0
      src/main/java/com/fdkankan/modeling/receiver/RabbitMqListener.java

+ 6 - 0
src/main/java/com/fdkankan/modeling/receiver/RabbitMqListener.java

@@ -275,6 +275,12 @@ public class RabbitMqListener {
 
         String splitType = dataMap.get("splitType");
         String skyboxType = dataMap.get("skyboxType");
+        if(Objects.nonNull(message.getExt().get("splitType"))){
+            splitType = (String) message.getExt().get("splitType");
+        }
+        if(Objects.nonNull(message.getExt().get("skyboxType"))){
+            skyboxType = (String) message.getExt().get("skyboxType");
+        }
 
         ComputerUtil.createProjectAndDataFile(path,num, splitType, skyboxType,null,null);
         //计算模型并返回需要上传oss的文件集合