dengsixing пре 10 месеци
родитељ
комит
185aa82f4e

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

@@ -394,6 +394,9 @@ public class BuildSceneServiceImpl implements IBuildSceneService {
 
             wbService.sendMq(sceneCode, CommonSuccessStatus.SUCCESS.code());
 
+            //拜城公安需求
+            this.sendMqForBcgn(sceneCode);
+
             log.info("场景计算结果处理结束,场景码:{}", sceneCode);
 
         }catch (Exception e){
@@ -419,6 +422,12 @@ public class BuildSceneServiceImpl implements IBuildSceneService {
         }
     }
 
+    private void sendMqForBcgn(String num){
+        Map<String, String> map = new HashMap<>();
+        map.put("num", num);
+        mqProducer.sendByWorkQueue("detect-queue-freespace", map);
+    }
+
 
     private void uploadFloorCad(String path, String num, Map<String, String> uploadFiles){