update 获取表单结构

This commit is contained in:
liao
2023-11-06 15:07:34 +08:00
parent 0ab9038fda
commit 0649ac732d
@@ -983,12 +983,12 @@ public class LawsCommonServiceImpl implements ILawsCommonService {
// 筛选表单显示的字段
if ("1".equals(type)) {
// 详情显示
fieldList = fieldList.stream().filter(lawsTag -> YesOrNoEnum.YES.getValue()
fieldList = fieldList.stream().filter(lawsTag -> YesOrNoEnum.YES.getInteger()
.equals(lawsTag.getIsShowForm().toString())).collect(Collectors.toList());
} else {
// 新增编辑显示
fieldList = fieldList.stream().filter(lawsTag -> YesOrNoEnum.YES.getValue()
.equals(lawsTag.getIsShowFormCreate().toString())).collect(Collectors.toList());
fieldList = fieldList.stream().filter(lawsTag -> YesOrNoEnum.YES.getInteger()
.equals(lawsTag.getIsShowFormCreate())).collect(Collectors.toList());
}
// 获取区域管理