文档库--异常处理
This commit is contained in:
+2
-2
@@ -262,9 +262,9 @@ public class BussDocumentLibraryEOServiceImpl extends ServiceImpl<BussDocumentLi
|
|||||||
if (fieldList.size() != 0) {
|
if (fieldList.size() != 0) {
|
||||||
//过滤出表单字段(is_show_form-->表单是否显示0否 1是)
|
//过滤出表单字段(is_show_form-->表单是否显示0否 1是)
|
||||||
if ("add".equals(type)) {
|
if ("add".equals(type)) {
|
||||||
//新增时,被代替标准在表单中不显示
|
//新增时,被代替标准在表单中不显示.
|
||||||
fieldList = fieldList.stream()
|
fieldList = fieldList.stream()
|
||||||
.filter(e -> YesOrNoEnum.YES.getValue().equals(String.valueOf(e.getIsShowForm())) && !e.getDbFieldName().equals("replaced_standard"))
|
.filter(e -> YesOrNoEnum.YES.getValue().equals(String.valueOf(e.getIsShowForm())) && !"replaced_standard" .equals(e.getDbFieldName()))
|
||||||
.collect(Collectors.toList());
|
.collect(Collectors.toList());
|
||||||
} else {
|
} else {
|
||||||
fieldList = fieldList.stream()
|
fieldList = fieldList.stream()
|
||||||
|
|||||||
Reference in New Issue
Block a user