|
@@ -103,7 +103,27 @@ public class ConceptFacade extends ConceptServiceImpl {
|
|
|
* @return
|
|
|
*/
|
|
|
public List<GetAllLisConceptDTO> getAllLisConcept(GetAllLisConceptVO getAllLisConceptVO) {
|
|
|
- return this.baseMapper.getAllLisConcept(getAllLisConceptVO);
|
|
|
+ List<GetAllLisConceptDTO> getAllLisConceptDTOList = new ArrayList<>();
|
|
|
+
|
|
|
+ QueryWrapper<Concept> conceptQe = new QueryWrapper<>();
|
|
|
+ conceptQe.eq("is_deleted", "N");
|
|
|
+ conceptQe.eq("lib_type", 46);
|
|
|
+ conceptQe.like(StringUtil.isNotEmpty(getAllLisConceptVO.getConceptName()),"lib_name", getAllLisConceptVO.getConceptName());
|
|
|
+ List<Concept> conceptList = list(conceptQe);
|
|
|
+
|
|
|
+ conceptList.forEach(i->{
|
|
|
+ if(getAllLisConceptVO.getExcludedConceptNames()!=null
|
|
|
+ &&getAllLisConceptVO.getExcludedConceptNames().contains(i.getLibName())){
|
|
|
+ return;
|
|
|
+ }
|
|
|
+ GetAllLisConceptDTO getAllLisConceptDTO = new GetAllLisConceptDTO();
|
|
|
+ getAllLisConceptDTO.setConceptId(i.getId());
|
|
|
+ getAllLisConceptDTO.setConceptName(i.getLibName());
|
|
|
+ getAllLisConceptDTOList.add(getAllLisConceptDTO);
|
|
|
+ });
|
|
|
+
|
|
|
+ //return this.baseMapper.getAllLisConcept(getAllLisConceptVO);
|
|
|
+ return getAllLisConceptDTOList;
|
|
|
}
|
|
|
|
|
|
/**
|