|
@@ -612,7 +612,9 @@ public class CatalogueUtil {
|
|
public static String getXmlId(Map<String, Object> structureExtMap,String key){
|
|
public static String getXmlId(Map<String, Object> structureExtMap,String key){
|
|
if (structureExtMap != null && structureExtMap.containsKey("ID编号")) {
|
|
if (structureExtMap != null && structureExtMap.containsKey("ID编号")) {
|
|
Map<String, String> ids = (Map<String, String>) structureExtMap.get("ID编号");
|
|
Map<String, String> ids = (Map<String, String>) structureExtMap.get("ID编号");
|
|
- return ids.get(key);
|
|
|
|
|
|
+ if(ids!=null) {
|
|
|
|
+ return ids.get(key);
|
|
|
|
+ }
|
|
}
|
|
}
|
|
return "";
|
|
return "";
|
|
}
|
|
}
|