forked from D-Net/dnet-hadoop
fixed a problem with journals
This commit is contained in:
parent
c43b4c8962
commit
a0a6109bbc
|
@ -488,9 +488,9 @@ public class MigrateDbEntitiesApplication extends AbstractMigrationApplication
|
||||||
if (StringUtils.isNotBlank(sj)) {
|
if (StringUtils.isNotBlank(sj)) {
|
||||||
final String[] arr = sj.split("@@@");
|
final String[] arr = sj.split("@@@");
|
||||||
if (arr.length == 3) {
|
if (arr.length == 3) {
|
||||||
final String issn = StringUtils.isNotBlank(arr[0]) ? arr[0] : null;
|
final String issn = StringUtils.isNotBlank(arr[0]) ? arr[0].trim() : null;
|
||||||
final String eissn = StringUtils.isNotBlank(arr[1]) ? arr[1] : null;;
|
final String eissn = StringUtils.isNotBlank(arr[1]) ? arr[1].trim() : null;;
|
||||||
final String lissn = StringUtils.isNotBlank(arr[2]) ? arr[2] : null;;
|
final String lissn = StringUtils.isNotBlank(arr[2]) ? arr[2].trim() : null;;
|
||||||
if (issn != null || eissn != null || lissn != null) {
|
if (issn != null || eissn != null || lissn != null) {
|
||||||
return journal(name, issn, eissn, eissn, null, null, null, null, null, null, null, info);
|
return journal(name, issn, eissn, eissn, null, null, null, null, null, null, null, info);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue