feat(标准结构树): 拆分特殊过滤

This commit is contained in:
yjz
2024-08-01 11:43:39 +08:00
parent 60591db53e
commit 378a25fe21
@@ -83,7 +83,7 @@ public class LawsTreeNodeServiceImpl extends ServiceImpl<LawsTreeNodeMapper, Law
}
// 拆分特殊过滤
if (CollectionUtils.isNotEmpty(lawsTreeNodeModels) && "3".equals(option)){
if (CollectionUtils.isNotEmpty(lawsTreeNodeModels) && "2".equals(option)){
List<LawsTreeNodeModel> children = lawsTreeNodeModels.get(0).getChildren();
List<LawsTreeNodeModel> collect = children.stream()
.filter(node -> "A02A01".equals(node.getNodeCode()) || "A02A03".equals(node.getNodeCode()))