|
@@ -206,8 +206,8 @@ public class ConceptFacade extends ConceptServiceImpl {
|
|
|
|
|
|
QueryWrapper<Concept> conceptQe = new QueryWrapper<>();
|
|
|
conceptQe.eq("is_deleted", IsDeleteEnum.N.getKey());
|
|
|
- conceptQe.like("lib_name", getAllForRelationVO.getName());
|
|
|
- conceptQe.eq("lib_type", getAllForRelationVO.getTypeId());
|
|
|
+ conceptQe.like(StringUtil.isNotBlank(getAllForRelationVO.getName()),"lib_name", getAllForRelationVO.getName());
|
|
|
+ conceptQe.eq(getAllForRelationVO.getTypeId()!=null,"lib_type", getAllForRelationVO.getTypeId());
|
|
|
List<Concept> conceptList = list(conceptQe);
|
|
|
|
|
|
Map<Long, Long> reCouMap = new HashMap<>();
|