|
@@ -423,6 +423,14 @@ 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);
|