/house/rent 优化
This commit is contained in:
+3
@@ -2011,6 +2011,9 @@ public class DistrictServiceImpl implements DistrictService {
|
||||
if (!RegionData.isCity(city)) {
|
||||
city = RegionData.formatCity(city);
|
||||
}
|
||||
if (city == null){
|
||||
return null;
|
||||
}
|
||||
District districtInfo = findDistrict(new DistrictKey(city, region, name), target);
|
||||
// 先精确查询,查不到再根据别名匹配
|
||||
if (districtInfo != null) {
|
||||
|
||||
Reference in New Issue
Block a user