|
@@ -136,8 +136,14 @@ public class ConceptFacade extends ConceptServiceImpl {
|
|
|
QueryWrapper<Concept> conceptQe = new QueryWrapper<>();
|
|
|
conceptQe.eq("is_deleted", IsDeleteEnum.N.getKey());
|
|
|
conceptQe.eq("lib_type", LexiconTypeEnum.LIS_TABLES.getKey());
|
|
|
- conceptQe.like(StringUtil.isNotEmpty(getAllLisConceptVO.getConceptName()),
|
|
|
- "lib_name", getAllLisConceptVO.getConceptName());
|
|
|
+ if (StringUtil.isNotBlank(getAllLisConceptVO.getConceptName())) {
|
|
|
+ conceptQe.apply(
|
|
|
+ "UPPER(lib_name) LIKE CONCAT('%',trim('"
|
|
|
+ + getAllLisConceptVO.getConceptName().toUpperCase()
|
|
|
+ + "'),'%')");
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
List<Concept> conceptList = list(conceptQe);
|
|
|
|
|
|
conceptList.forEach(i -> {
|