Просмотр исходного кода

暂时关闭预警消息推送消息中心

liuyaowen 1 год назад
Родитель
Сommit
34d9bb8995

+ 4 - 4
src/main/java/com/yunfeiyun/agmp/iots/device/service/WarnService.java

@@ -64,7 +64,7 @@ public class WarnService {
     @Autowired
     private IotWarnconfigMapper warnconfigMapper;
 
-    @Autowired
+
     private MessageContentService messageContentService;
 
     @Autowired
@@ -859,10 +859,10 @@ public class WarnService {
             msgbatchContent.setAppRedirect("/iotPages/warnlog", jsonObject);
 
             log.info(TAG+"【发送系统消息】-{}",content);
-
-            String msgBatchId = messageContentService.sendMsg2(warntypeName, msgbatchContent,jsonObject.toString(), PtsMsgBizType.IOT_WARN, wlBid, idList);
+            // TODO://暂时关闭消息中心的功能
+          /*  String msgBatchId = messageContentService.sendMsg2(warntypeName, msgbatchContent,jsonObject.toString(), PtsMsgBizType.IOT_WARN, wlBid, idList);
             findWarnlog.setMsgBatchid(msgBatchId);
-
+*/
         }else if("1".equals(noticeType)){
 
             String warnContentSms = buildWarnResultString(warnResultList,true);