...
|
...
|
@@ -29,8 +29,6 @@ public class QueueViewJob implements Callable { |
|
|
|
|
|
private RabbitAlertMapper rabbitAlertMapper;
|
|
|
|
|
|
private IMObjectInfoService moService;
|
|
|
|
|
|
private AlarmMsgComp alarmMsgComp;
|
|
|
|
|
|
private int moId;
|
...
|
...
|
@@ -41,8 +39,6 @@ public class QueueViewJob implements Callable { |
|
|
|
|
|
this.rabbitAlertMapper = SpringContextUtils.getBeanByClass(RabbitAlertMapper.class);
|
|
|
|
|
|
this.moService = SpringContextUtils.getBeanByClass(MObjectInfoServiceImpl.class);
|
|
|
|
|
|
this.alarmMsgComp = SpringContextUtils.getBeanByClass(AlarmMsgComp.class);
|
|
|
}
|
|
|
|
...
|
...
|
@@ -176,7 +172,7 @@ public class QueueViewJob implements Callable { |
|
|
|
|
|
builder.append("{");
|
|
|
|
|
|
String ip = moService.queryMObjectInfo(this.moId).getMoHostIp();
|
|
|
String ip = InterVar.moMaps.get(this.moId).getMoHostIp();
|
|
|
|
|
|
builder.append("宿主机:").append(ip).append(";");
|
|
|
|
...
|
...
|
|