修改条款导入
This commit is contained in:
+23
-11
@@ -3184,7 +3184,7 @@ public class FileSplitItemsEOServiceImpl extends ServiceImpl<FileSplitItemsEOMap
|
||||
}
|
||||
countError++;
|
||||
valueList = Collections.emptyList();
|
||||
continue;
|
||||
break;
|
||||
}else {
|
||||
valueList.add(first.get().getId());
|
||||
}
|
||||
@@ -3221,7 +3221,7 @@ public class FileSplitItemsEOServiceImpl extends ServiceImpl<FileSplitItemsEOMap
|
||||
sysDictItemList.stream().filter(o -> treePath.equals(o.getLevelPath()))
|
||||
.collect(Collectors.toList());
|
||||
if(!pathOther.isEmpty()){
|
||||
if (path.size() > 1) {
|
||||
if (pathOther.size() > 1) {
|
||||
if(MessageUtils.getLanguage().getValue().equals(LanguageEnum.CN.getValue())) {
|
||||
errorMsg += fieldName + "中" + treePath + "存在多个;";
|
||||
countError++;
|
||||
@@ -3229,9 +3229,13 @@ public class FileSplitItemsEOServiceImpl extends ServiceImpl<FileSplitItemsEOMap
|
||||
} else {
|
||||
errorMsg += fieldName + " " + treePath + "Exist in multiple;";
|
||||
}
|
||||
continue;
|
||||
break;
|
||||
}
|
||||
valueList.add(pathOther.get(0).getItemValue());
|
||||
if(CollectionUtils.isEmpty(valueList)){
|
||||
valueList = new ArrayList<>();
|
||||
valueList.add(path.get(0).getItemValue());
|
||||
}
|
||||
|
||||
}else{
|
||||
if(MessageUtils.getLanguage().getValue().equals(LanguageEnum.CN.getValue())) {
|
||||
errorMsg += fieldName + "中" + treePath + "存在多个;";
|
||||
@@ -3240,7 +3244,12 @@ public class FileSplitItemsEOServiceImpl extends ServiceImpl<FileSplitItemsEOMap
|
||||
} else {
|
||||
errorMsg += fieldName + " " + treePath + "Not exist;";
|
||||
}
|
||||
continue;
|
||||
break;
|
||||
}
|
||||
}else{
|
||||
if(CollectionUtils.isEmpty(valueList)){
|
||||
valueList = new ArrayList<>();
|
||||
valueList.add(path.get(0).getItemValue());
|
||||
}
|
||||
}
|
||||
}else {
|
||||
@@ -3249,7 +3258,7 @@ public class FileSplitItemsEOServiceImpl extends ServiceImpl<FileSplitItemsEOMap
|
||||
sysDictItemList.stream().filter(o -> treePath.equals(o.getLevelPath()))
|
||||
.collect(Collectors.toList());
|
||||
if(!pathOther.isEmpty()){
|
||||
if (path.size() > 1) {
|
||||
if (pathOther.size() > 1) {
|
||||
if(MessageUtils.getLanguage().getValue().equals(LanguageEnum.CN.getValue())) {
|
||||
errorMsg += fieldName + "中" + treePath + "存在多个;";
|
||||
countError++;
|
||||
@@ -3257,9 +3266,12 @@ public class FileSplitItemsEOServiceImpl extends ServiceImpl<FileSplitItemsEOMap
|
||||
} else {
|
||||
errorMsg += fieldName + " " + treePath + "Exist in multiple;";
|
||||
}
|
||||
continue;
|
||||
break;
|
||||
}
|
||||
if(CollectionUtils.isEmpty(valueList)){
|
||||
valueList = new ArrayList<>();
|
||||
valueList.add(pathOther.get(0).getItemValue());
|
||||
}
|
||||
valueList.add(pathOther.get(0).getItemValue());
|
||||
}else{
|
||||
if(MessageUtils.getLanguage().getValue().equals(LanguageEnum.CN.getValue())) {
|
||||
errorMsg += fieldName + "中" + treePath + "不存在;";
|
||||
@@ -3268,7 +3280,7 @@ public class FileSplitItemsEOServiceImpl extends ServiceImpl<FileSplitItemsEOMap
|
||||
} else {
|
||||
errorMsg += fieldName + " " + treePath + "Not exist;";
|
||||
}
|
||||
continue;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -3291,7 +3303,7 @@ public class FileSplitItemsEOServiceImpl extends ServiceImpl<FileSplitItemsEOMap
|
||||
} else {
|
||||
errorMsg += fieldName + " " + treePath + "Exist in multiple;";
|
||||
}
|
||||
continue;
|
||||
break;
|
||||
}
|
||||
valueList.add(path.get(0).getCode());
|
||||
}else {
|
||||
@@ -3302,7 +3314,7 @@ public class FileSplitItemsEOServiceImpl extends ServiceImpl<FileSplitItemsEOMap
|
||||
} else {
|
||||
errorMsg += fieldName + " " + treePath + "Not exist;";
|
||||
}
|
||||
continue;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user