parent
feb83ceb03
commit
c253b07103
|
@ -95,7 +95,7 @@ public class TextLibraryServiceImpl implements TextLibraryService {
|
|||
for (PageData entity : list) {
|
||||
List<PageData> _labels = libraryLabelsMapper.findBylibraryId(entity);
|
||||
// 安全操作规程
|
||||
entity.put("labels", _labels.stream().filter(n -> n.get("BUS_LABEL_FACTORY_ID") != null).collect(Collectors.toList()));
|
||||
entity.put("labels", _labels.stream().filter(n -> StringUtils.isNotEmpty(n.getString("BUS_LABEL_FACTORY_ID"))).collect(Collectors.toList()));
|
||||
entity.put("TYPES", _labels.stream().filter(n -> n.get("CATEGORY") != null).filter(n -> n.getString("CATEGORY").equals("TYPES")).collect(Collectors.toList()));
|
||||
entity.put("SPECIFICATION_TYPES", _labels.stream().filter(n -> n.get("CATEGORY") != null).filter(n -> n.getString("CATEGORY").equals("SPECIFICATION_TYPES")).collect(Collectors.toList()));
|
||||
entity.put("ATTRIBUTE_LIST", _labels.stream().filter(n -> n.get("CATEGORY") != null).filter(n -> n.getString("CATEGORY").equals("ATTRIBUTE_LIST")).collect(Collectors.toList()));
|
||||
|
|
Loading…
Reference in New Issue