写字楼地址估值结果区域改成简称
This commit is contained in:
+3
-1
@@ -1,5 +1,6 @@
|
|||||||
package com.fangjia.service.datastore;
|
package com.fangjia.service.datastore;
|
||||||
|
|
||||||
|
import com.fangjia.core.RegionData;
|
||||||
import com.fangjia.core.util.CacheUtils;
|
import com.fangjia.core.util.CacheUtils;
|
||||||
import com.fangjia.core.util.DataUtil;
|
import com.fangjia.core.util.DataUtil;
|
||||||
import com.fangjia.core.util.DateUtil;
|
import com.fangjia.core.util.DateUtil;
|
||||||
@@ -359,7 +360,7 @@ public class OfficeServiceImpl implements OfficeService {
|
|||||||
} else {
|
} else {
|
||||||
evaluation.setLocation("");
|
evaluation.setLocation("");
|
||||||
}
|
}
|
||||||
evaluation.setRegion(gaodeDto.getDistrict());
|
evaluation.setRegion(RegionData.formatRegion(evaluation.getCity(), gaodeDto.getDistrict()));
|
||||||
return rentEvaluateByLocation(evaluation);
|
return rentEvaluateByLocation(evaluation);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -441,6 +442,7 @@ public class OfficeServiceImpl implements OfficeService {
|
|||||||
}
|
}
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
|
|
||||||
private GaodeDto getGaodeGeo(String city, String address) {
|
private GaodeDto getGaodeGeo(String city, String address) {
|
||||||
GaodeDto gaodeDto = GeoUtils.geo(city, address);
|
GaodeDto gaodeDto = GeoUtils.geo(city, address);
|
||||||
return gaodeDto;
|
return gaodeDto;
|
||||||
|
|||||||
Reference in New Issue
Block a user