修改拆分导入bug
This commit is contained in:
+10
@@ -3206,6 +3206,16 @@ public class FileSplitItemsEOServiceImpl extends ServiceImpl<FileSplitItemsEOMap
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
String cellValue = this.convertMultiOrgId(v, departMap, departPartMap);
|
String cellValue = this.convertMultiOrgId(v, departMap, departPartMap);
|
||||||
|
if(StringUtils.isEmpty(cellValue)){
|
||||||
|
if(MessageUtils.getLanguage().getValue().equals(LanguageEnum.CN.getValue())) {
|
||||||
|
errorMsg += fieldName + "中组织机构" + v + "不存在;";
|
||||||
|
} else {
|
||||||
|
errorMsg += fieldName + " " + v + "Not exist;";
|
||||||
|
}
|
||||||
|
countError++;
|
||||||
|
valueList = Collections.emptyList();
|
||||||
|
break;
|
||||||
|
}
|
||||||
valueList.add(cellValue);
|
valueList.add(cellValue);
|
||||||
|
|
||||||
// Optional<SysDepart> first = sysDepartList.stream().filter(o -> v.equals(o.getDepartName())).findFirst();
|
// Optional<SysDepart> first = sysDepartList.stream().filter(o -> v.equals(o.getDepartName())).findFirst();
|
||||||
|
|||||||
Reference in New Issue
Block a user