public String getIDMapping(String type, String oldID) { Object obj = this.idMap.get(type); if (StringUtil.isEmpty(oldID)) { return null; } if (obj == null) { LogUtil.info("站点导入时未找到ID映射关系:Type=" + type + ",OldID=" + oldID); return null; } Mapx map = (Mapx) obj; return map.getString(oldID); }