|
@@ -423,6 +423,9 @@ public class BuildSceneServiceImpl implements IBuildSceneService {
|
|
//四川日报打包消费
|
|
//四川日报打包消费
|
|
this.sendMqToPackScene4Scrb(sceneCode);
|
|
this.sendMqToPackScene4Scrb(sceneCode);
|
|
|
|
|
|
|
|
+ //拜城公安需求
|
|
|
|
+ this.sendMqForBcgn(sceneCode);
|
|
|
|
+
|
|
log.info("场景计算结果处理结束,场景码:{}", sceneCode);
|
|
log.info("场景计算结果处理结束,场景码:{}", sceneCode);
|
|
|
|
|
|
}catch (Exception e){
|
|
}catch (Exception e){
|
|
@@ -462,6 +465,20 @@ public class BuildSceneServiceImpl implements IBuildSceneService {
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
+ private void sendMqForBcgn(String num){
|
|
|
|
+ ScenePlus scenePlus = scenePlusService.getScenePlusByNum(num);
|
|
|
|
+ ScenePlusExt scenePlusExt = scenePlusExtService.getScenePlusExtByPlusId(scenePlus.getId());
|
|
|
|
+ if(!scenePlus.getSceneSource().equals(SceneSource.JG.code()) && !scenePlus.getSceneSource().equals(SceneSource.SG.code())){
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
|
|
+ if(scenePlusExt.getLocation() != 4){
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
|
|
+ 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){
|
|
private void uploadFloorCad(String path, String num, Map<String, String> uploadFiles){
|
|
|
|
|