master #59
|
@ -372,7 +372,9 @@ case object Crossref2Oaf {
|
||||||
objectType,
|
objectType,
|
||||||
mappingCrossrefSubType.getOrElse(objectSubType, "0038 Other literature type")
|
mappingCrossrefSubType.getOrElse(objectSubType, "0038 Other literature type")
|
||||||
)
|
)
|
||||||
mappingResult(result, json, cOBJCategory, objectSubType)
|
|
||||||
|
val originalType = if (mappingCrossrefSubType.contains(objectType)) objectType else objectSubType
|
||||||
|
mappingResult(result, json, cOBJCategory, originalType)
|
||||||
if (result == null || result.getId == null)
|
if (result == null || result.getId == null)
|
||||||
return List()
|
return List()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue