|
|
@@ -165,7 +165,7 @@ public class MsgService {
|
|
|
messageDto.setMsgbatchChannel(iotWarnpolicy.getWpChannel()); // 通知渠道,这里假设通过电子邮件发送,需要根据实际情况调整
|
|
|
JSONObject extra = new JSONObject();
|
|
|
extra.put("location", "/iotm/warning/record");
|
|
|
- extra.put("permission", "iotm:warningPlanning:historyRecord");
|
|
|
+ extra.put("permission", "iotm:warning:record:list");
|
|
|
extra.put("handleId", warnResult.getWlBid());
|
|
|
messageDto.setMsgbatchExtra(extra.toJSONString());
|
|
|
messageDto.setMsgbatchHandler(warnResult.getReceiverIds()); // 处理人暂时为空,根据业务逻辑补充
|