|
|
@@ -103,6 +103,9 @@ public class ExpertAdminExpertManageAssembler { |
|
|
|
} |
|
|
|
|
|
|
|
public List<DictionaryFieldInfo> assembleDictionaryName(List<DictionaryFieldInfo> collect) { |
|
|
|
if (CollectionUtil.isEmpty(collect)){ |
|
|
|
return new ArrayList<>(); |
|
|
|
} |
|
|
|
return collect.stream().peek(r -> { |
|
|
|
DictionaryDTO dictionaryDTO = dictionaryCache.getByCode(r.getDictionaryCode()); |
|
|
|
if (Objects.nonNull(dictionaryDTO)) { |
|
|
@@ -113,6 +116,9 @@ public class ExpertAdminExpertManageAssembler { |
|
|
|
|
|
|
|
|
|
|
|
public List<TagFieldInfo> assembleTagName(List<TagFieldInfo> collect) { |
|
|
|
if (CollectionUtil.isEmpty(collect)){ |
|
|
|
return new ArrayList<>(); |
|
|
|
} |
|
|
|
return collect.stream().peek(r -> { |
|
|
|
TagDTO tagDTO = tagCache.getByTagCode(r.getTagCode()); |
|
|
|
if (Objects.nonNull(tagDTO)) { |
|
|
|