|
|
@@ -292,15 +292,16 @@ public class VideoDiagnosisRecordServiceImpl extends ServiceImpl<VideoDiagnosisR
|
|
|
throw new RuntimeException(e.getMessage());
|
|
|
}
|
|
|
|
|
|
- TransactionSynchronizationManager.registerSynchronization(new TransactionSynchronizationAdapter() {
|
|
|
- @Override
|
|
|
- public void afterCommit() {
|
|
|
- try {
|
|
|
- iotAlarmDataService.dealVideoDiagnosisData(videoDiagnosis);
|
|
|
- } catch (Exception e) {
|
|
|
- throw new RuntimeException(e);
|
|
|
- }
|
|
|
- }
|
|
|
- });
|
|
|
+ // TODO 25号版本先关闭视频类告警, 523版本通过 系统参数控制
|
|
|
+// TransactionSynchronizationManager.registerSynchronization(new TransactionSynchronizationAdapter() {
|
|
|
+// @Override
|
|
|
+// public void afterCommit() {
|
|
|
+// try {
|
|
|
+// iotAlarmDataService.dealVideoDiagnosisData(videoDiagnosis);
|
|
|
+// } catch (Exception e) {
|
|
|
+// throw new RuntimeException(e);
|
|
|
+// }
|
|
|
+// }
|
|
|
+// });
|
|
|
}
|
|
|
}
|