dengsixing 1 неделя назад
Родитель
Сommit
dff2c94348

+ 6 - 0
src/main/java/com/fdkankan/contro/mq/service/impl/BuildSxRelocationServiceImpl.java

@@ -57,6 +57,8 @@ public class BuildSxRelocationServiceImpl implements IBuildSceneService {
     private String modelType;
     @Value("${env:gn}")
     private String env;
+    @Value("${queue.modeling.modeling-call}")
+    private String queueModelingCall;
     @Autowired
     private RabbitMqProducer mqProducer;
     @Resource
@@ -103,6 +105,10 @@ public class BuildSxRelocationServiceImpl implements IBuildSceneService {
                 dataMap.put("skyboxType", "SKYBOX_V14");
             }
             buildService.writeDataJson(message, new JSONObject(), dataMap, null);
+
+            //发送mq,就进行计算
+            mqProducer.sendByWorkQueue(queueModelingCall, message);
+
         }catch (Exception e){
             scenePlusByNum.setSceneStatus(SceneStatus.FAILD.code());
             scenePlusService.updateById(scenePlusByNum);