瀏覽代碼

拜城公安

dengsixing 10 月之前
父節點
當前提交
185aa82f4e
共有 1 個文件被更改,包括 9 次插入0 次删除
  1. 9 0
      src/main/java/com/fdkankan/contro/mq/service/impl/BuildSceneServiceImpl.java

+ 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){