|
|
@@ -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);
|