竞争力分析报错解决
This commit is contained in:
@@ -502,11 +502,10 @@ public class ESJobSearchImpl implements IESJobSearchService
|
|||||||
wrapper.and(x->x.le(ESJobDocument::getExperience_int,maxValue));
|
wrapper.and(x->x.le(ESJobDocument::getExperience_int,maxValue));
|
||||||
}
|
}
|
||||||
if(!StringUtil.isEmptyOrNull(esJobSearch.getJobCategory())){
|
if(!StringUtil.isEmptyOrNull(esJobSearch.getJobCategory())){
|
||||||
//wrapper.and(x->x.eq(ESJobDocument::getJobCategory,esJobSearch.getJobCategory()));
|
|
||||||
String targetValue = esJobSearch.getJobCategory();
|
String targetValue = esJobSearch.getJobCategory();
|
||||||
wrapper.and(x -> x.like(ESJobDocument::getJobCategory, targetValue)
|
wrapper.and(x -> x.match(ESJobDocument::getJobTitle, targetValue)
|
||||||
.or()
|
.or()
|
||||||
.like(ESJobDocument::getJobTitle, targetValue));
|
.match(ESJobDocument::getDescription, targetValue));
|
||||||
}
|
}
|
||||||
if(!StringUtil.isEmptyOrNull(esJobSearch.getScale())){
|
if(!StringUtil.isEmptyOrNull(esJobSearch.getScale())){
|
||||||
Integer maxValue = StringUtil.findMaxValue(esJobSearch.getScale());
|
Integer maxValue = StringUtil.findMaxValue(esJobSearch.getScale());
|
||||||
|
|||||||
Reference in New Issue
Block a user