|
@@ -350,7 +350,11 @@ public class ConceptFacade extends ConceptServiceImpl {
|
|
|
List<RetrievalDTO> staticRetrievalList = this.staticKnowledge(retrievalVO);
|
|
|
for (RetrievalDTO retrievalDTO : staticRetrievalList) {
|
|
|
retrievalDTO.setType(ParamConvertUtil.libConvert2Concept(retrievalDTO.getLibTypeId().intValue()));
|
|
|
- if(retrievalDTO.getShowType().intValue() == 1){//去除本体retrivalName
|
|
|
+ List<Integer> notshowIds = new ArrayList<>();
|
|
|
+ notshowIds.add(1);
|
|
|
+ notshowIds.add(11);
|
|
|
+ notshowIds.add(21);
|
|
|
+ if(notshowIds.contains(retrievalDTO.getShowType().intValue())){//去除本体retrivalName
|
|
|
if(retrievalDTO.getName().equals(retrievalDTO.getRetrievalName())){
|
|
|
retrievalDTO.setRetrievalName(null);
|
|
|
}
|