mapping.put("nodeSysObjectId", alarm.getNodeSysObjectId() == null ? "?" : alarm.getNodeSysObjectId()); mapping.put("foreignSource", alarm.getForeignSource() == null ? "?" : alarm.getForeignSource()); mapping.put("foreignId", alarm.getForeignId() == null ? "?" : alarm.getForeignId()); } else { mapping.put("nodeId", "");
mapping.put("nodeSysObjectId", alarm.getNodeSysObjectId() == null ? "?" : alarm.getNodeSysObjectId()); mapping.put("foreignSource", alarm.getForeignSource() == null ? "?" : alarm.getForeignSource()); mapping.put("foreignId", alarm.getForeignId() == null ? "?" : alarm.getForeignId()); } else { mapping.put("nodeId", "");