新增第三方均价

This commit is contained in:
Jian Shen
2022-05-24 13:28:20 +08:00
parent 1648838af9
commit a8cb3041a5
@@ -1280,6 +1280,18 @@ public class PropertyController {
houseDtos.add(houseDto);
}
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){
double lng = DataUtil.roundDouble(district.getLng() / 10000000000.0,6);
double lat = DataUtil.roundDouble(district.getLat() / 10000000000.0, 6);