文档库--ocr识别调取已入库文件列表内容中英文切换

This commit is contained in:
zhn
2022-03-03 19:10:38 +08:00
parent 0738edf675
commit 0a9c80c8c8
@@ -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());
}
}
}
//添加文本信息