|
@@ -171,12 +171,10 @@ public class ConceptDetailFacade extends ConceptDetailServiceImpl {
|
|
|
Map<Long, List<ConceptDetail>> conceptDetailMap
|
|
|
= EntityUtil.makeEntityListMap(conceptDetailList, "conceptId");
|
|
|
for (Concept concept : conceptList) {
|
|
|
+ retSubMap = new LinkedHashMap<>();
|
|
|
if (retMap.containsKey(concept.getLibName())) {
|
|
|
retSubMap = retMap.get(concept.getLibName());
|
|
|
}
|
|
|
- if (retSubMap == null) {
|
|
|
- retSubMap = new LinkedHashMap<>();
|
|
|
- }
|
|
|
if (conceptDetailMap.containsKey(concept.getId())
|
|
|
&& ListUtil.isNotEmpty(conceptDetailMap.get(concept.getId()))) {
|
|
|
retSubMap.put(concept.getLibType(), conceptDetailMap.get(concept.getId()));
|