文档库--ocr识别调取已入库文件列表内容中英文切换
This commit is contained in:
+5
-1
@@ -1170,7 +1170,11 @@ public class BussDocumentLibraryEOServiceImpl extends ServiceImpl<BussDocumentLi
|
||||
.collect(Collectors.toList());
|
||||
List<SysDictItem> state = stateList.stream().filter(e -> e.getItemValue().equals(entry.getValue())).collect(Collectors.toList());
|
||||
if (state.size() != 0) {
|
||||
entry.setValue(state.get(0).getItemText());
|
||||
if(CutEnum.CN.getValue().equals((String) parameter.get("cut"))){
|
||||
entry.setValue(state.get(0).getItemText());
|
||||
}else{
|
||||
entry.setValue(state.get(0).getEnName());
|
||||
}
|
||||
}
|
||||
}
|
||||
//添加文本信息
|
||||
|
||||
Reference in New Issue
Block a user