修改搜索词中有喀什的(默认匹配到喀什市)
This commit is contained in:
@@ -132,9 +132,14 @@ public class TextConditionParserUtil {
|
||||
}
|
||||
}
|
||||
|
||||
if (!hitCounty && text.contains("喀什地区")) {
|
||||
if (!hitCounty) {
|
||||
if (text.contains("喀什地区")) {
|
||||
condition.setAddress("喀什地区");
|
||||
condition.setRegionCode(KASHGAR_FULL_CODE);
|
||||
} else if (text.contains("喀什")) {
|
||||
condition.setAddress("喀什市");
|
||||
condition.setJobLocationAreaCode("0");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user