|
@@ -390,8 +390,12 @@ public class BuildSceneServiceImpl implements IBuildSceneService {
|
|
commonService.sendEmail(sceneCode, "standar");
|
|
commonService.sendEmail(sceneCode, "standar");
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ //发送到文保系统
|
|
wbService.sendMq(sceneCode, CommonSuccessStatus.SUCCESS.code());
|
|
wbService.sendMq(sceneCode, CommonSuccessStatus.SUCCESS.code());
|
|
|
|
|
|
|
|
+ //四川日报打包消费
|
|
|
|
+ this.sendMqToPackScene4Scrb(sceneCode);
|
|
|
|
+
|
|
log.info("场景计算结果处理结束,场景码:{}", sceneCode);
|
|
log.info("场景计算结果处理结束,场景码:{}", sceneCode);
|
|
|
|
|
|
}catch (Exception e){
|
|
}catch (Exception e){
|
|
@@ -406,8 +410,18 @@ public class BuildSceneServiceImpl implements IBuildSceneService {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
- private void sendMqToPackScene4Scrb(){
|
|
|
|
-
|
|
|
|
|
|
+ private void sendMqToPackScene4Scrb(String num){
|
|
|
|
+ ScenePlus scenePlus = scenePlusService.getScenePlusByNum(num);
|
|
|
|
+ if(Objects.isNull(scenePlus.getCameraId())){
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
|
|
+ CameraDetail cameraDetail = cameraDetailService.getByCameraId(scenePlus.getCameraId());
|
|
|
|
+ if(Objects.isNull(cameraDetail)){
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
|
|
+ JSONObject jsonObject = new JSONObject();
|
|
|
|
+ jsonObject.put("num", num);
|
|
|
|
+ mqProducer.sendByWorkQueue("scrb-package-scene", jsonObject);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|