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