新增第三方均价
This commit is contained in:
+12
@@ -1280,6 +1280,18 @@ public class PropertyController {
|
|||||||
houseDtos.add(houseDto);
|
houseDtos.add(houseDto);
|
||||||
}
|
}
|
||||||
districtPriceMap.put("houses", houseDtos);
|
districtPriceMap.put("houses", houseDtos);
|
||||||
|
// 新增第三方均价
|
||||||
|
try {
|
||||||
|
double dCredit = 0.61;
|
||||||
|
Map<String, Object> rMap = getLastEvaluationPrice(district, evaluation, dCredit);
|
||||||
|
if (null != rMap) {
|
||||||
|
if (rMap.containsKey("other_price")) {
|
||||||
|
districtPriceMap.put("other_price", rMap.get("other_price"));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
} catch (Exception ex) {
|
||||||
|
|
||||||
|
}
|
||||||
}else if(district.getLng() != null && district.getLng() > 0){
|
}else if(district.getLng() != null && district.getLng() > 0){
|
||||||
double lng = DataUtil.roundDouble(district.getLng() / 10000000000.0,6);
|
double lng = DataUtil.roundDouble(district.getLng() / 10000000000.0,6);
|
||||||
double lat = DataUtil.roundDouble(district.getLat() / 10000000000.0, 6);
|
double lat = DataUtil.roundDouble(district.getLat() / 10000000000.0, 6);
|
||||||
|
|||||||
Reference in New Issue
Block a user