条款导入拆分结果标准结构树查询子集数据

This commit is contained in:
梁琦涛
2024-09-13 11:22:35 +08:00
parent 28818e6b7f
commit cafc7fbf0b
@@ -1302,11 +1302,12 @@ public class LawsCommonServiceImpl implements ILawsCommonService {
}
});
List<LawsNodeRelation> lawsNodeRelationListAll = lawsNodeRelationService.list(query);
if(!CollectionUtils.isEmpty(lawsNodeRelationListAll)){
String ids = lawsNodeRelationListAll.stream().map(LawsNodeRelation::getUniqueRelationFlag)
.collect(Collectors.joining(","));
selectionBoxVO.setIds(ids);
if(CollectionUtils.isEmpty(lawsNodeRelationListAll)){
return new Page<>();
}
String ids = lawsNodeRelationListAll.stream().map(LawsNodeRelation::getUniqueRelationFlag)
.collect(Collectors.joining(","));
selectionBoxVO.setIds(ids);
} else {
return new Page<>();
}