法规技术评估-针对标准发起流程时,需要通过id查询文档库数据,过滤出来文档库id查询条件。

This commit is contained in:
wangzhijiang
2022-07-15 10:07:13 +08:00
parent 8d810fe674
commit a0906e88de
@@ -450,7 +450,13 @@ public class BussDocumentLibraryEOServiceImpl extends ServiceImpl<BussDocumentLi
.collect(Collectors.toList());
}
} 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)){
fieldList = fieldList.stream().filter(e->!"title_en".equals(e.getDbFieldName())).collect(Collectors.toList());
}else{