处理推送消息为null的情况
This commit is contained in:
@@ -233,7 +233,7 @@ public class EventAlarmReportServiceImpl implements IEventAlarmReportService {
|
||||
ls.add(bigImg);
|
||||
// 生成告警记录
|
||||
SisAlarmEvents alarmRecord = alarmEventsService.createAlarmRecord(deviceIp, level, smallType, desc, ls);
|
||||
autoAssign(alarmRecord.getId(), deviceIp);
|
||||
autoAssign(alarmRecord.getId(), deviceIp, smallType);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -277,6 +277,7 @@ public class EventAlarmReportServiceImpl implements IEventAlarmReportService {
|
||||
bo.setSolveDeptId(userInfo.getDeptId());
|
||||
bo.setSolvePhone(userInfo.getPhonenumber());
|
||||
bo.setSolveEmail(userInfo.getEmail());
|
||||
bo.setSmallType(smallType);
|
||||
bo.setRemark("系统自动指派");
|
||||
alarmEventsService.taskAssignment(bo);
|
||||
});
|
||||
|
Reference in New Issue
Block a user