法规技术评估-针对标准发起流程时,需要通过id查询文档库数据,过滤出来文档库id查询条件。
This commit is contained in:
+7
-1
@@ -450,7 +450,13 @@ public class BussDocumentLibraryEOServiceImpl extends ServiceImpl<BussDocumentLi
|
|||||||
.collect(Collectors.toList());
|
.collect(Collectors.toList());
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
fieldList = fieldList.stream().filter(e -> YesOrNoEnum.YES.getValue().equals(StringUtils.valueOf(e.getIsQuery()))).collect(Collectors.toList());
|
fieldList = fieldList.stream().filter(e -> {
|
||||||
|
boolean showFlag = false;
|
||||||
|
if(YesOrNoEnum.YES.getValue().equals(StringUtils.valueOf(e.getIsQuery())) || e.getDbFieldName().equals("id")){
|
||||||
|
showFlag = true;
|
||||||
|
}
|
||||||
|
return showFlag;
|
||||||
|
}).collect(Collectors.toList());
|
||||||
if(CutEnum.CN.getValue().equals(cut)){
|
if(CutEnum.CN.getValue().equals(cut)){
|
||||||
fieldList = fieldList.stream().filter(e->!"title_en".equals(e.getDbFieldName())).collect(Collectors.toList());
|
fieldList = fieldList.stream().filter(e->!"title_en".equals(e.getDbFieldName())).collect(Collectors.toList());
|
||||||
}else{
|
}else{
|
||||||
|
|||||||
Reference in New Issue
Block a user