From ca60c9f5ba197767296b0d20ab15ff3fef3fe2c2 Mon Sep 17 00:00:00 2001 From: gaojuan1 Date: Wed, 4 Mar 2026 10:12:52 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AC=AC=E4=B8=89=E6=96=B9=E5=9D=87=E4=BB=B7?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/fangjia/open/controllers/PropertyController.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/projects/fangjia-open/src/main/java/com/fangjia/open/controllers/PropertyController.java b/projects/fangjia-open/src/main/java/com/fangjia/open/controllers/PropertyController.java index 5b690b48b..6f7bdb2f8 100644 --- a/projects/fangjia-open/src/main/java/com/fangjia/open/controllers/PropertyController.java +++ b/projects/fangjia-open/src/main/java/com/fangjia/open/controllers/PropertyController.java @@ -6880,7 +6880,7 @@ public class PropertyController { } List statsList = averageStatisticsService.findRecentMonths( - district.getCity(), district.getRegion(), district.getName(), district.getCategory(), 3); + district.getCity(), district.getRegion(), district.getName(), district.getCategory(), 5); UniversalDto result = UniversalDto.newDto(); result.append("id", id); @@ -6913,6 +6913,9 @@ public class PropertyController { if (lianjiaAvgPrice == null && stats.getLianjiaEsfPrice() != null && stats.getLianjiaEsfPrice() > 0) { lianjiaAvgPrice = stats.getLianjiaEsfPrice(); } + if (lianjiaAvgPrice == null && stats.getBeikeEsfPrice() != null && stats.getBeikeEsfPrice() > 0) { + lianjiaAvgPrice = stats.getBeikeEsfPrice(); + } if (cityhouseAvgPrice == null && stats.getCityhouseEsfPrice() != null && stats.getCityhouseEsfPrice() > 0) { cityhouseAvgPrice = stats.getCityhouseEsfPrice(); }