|
@ -142,7 +142,12 @@ public class CollectionInformationServiceImpl implements CollectionInformationSe |
|
|
lqw.eq(StrUtil.isNotEmpty(bo.getCaseId()), CollectionInformation::getCaseId, bo.getCaseId()); |
|
|
lqw.eq(StrUtil.isNotEmpty(bo.getCaseId()), CollectionInformation::getCaseId, bo.getCaseId()); |
|
|
} |
|
|
} |
|
|
if(StrUtil.isNotBlank(bo.getSearchValue())){ |
|
|
if(StrUtil.isNotBlank(bo.getSearchValue())){ |
|
|
lqw.queryStringQuery("*"+bo.getSearchValue().trim().replaceAll("([ ]|\\s|\\u00A0)+","")+"*"); |
|
|
|
|
|
|
|
|
String keyword = bo.getSearchValue().trim(); |
|
|
|
|
|
String keywordQ = "*" + keyword.replaceAll("([ ]|\\s|\\u00A0)+", "") + "*"; |
|
|
|
|
|
lqw.multiMatchQuery(keyword, CollectionInformation::getInformationSources, CollectionInformation::getName, |
|
|
|
|
|
CollectionInformation::getBasicInfo,CollectionInformation::getRelationInfo,CollectionInformation::getAssetsInfo, |
|
|
|
|
|
CollectionInformation::getActionInfo,CollectionInformation::getRemark); |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
return lqw; |
|
|
return lqw; |
|
|
} |
|
|
} |
|
|