第三方均价接口修改

This commit is contained in:
2026-03-04 10:12:52 +08:00
parent 106d0cdbad
commit ca60c9f5ba
@@ -6880,7 +6880,7 @@ public class PropertyController {
} }
List<AverageStatistics> statsList = averageStatisticsService.findRecentMonths( List<AverageStatistics> 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(); UniversalDto result = UniversalDto.newDto();
result.append("id", id); result.append("id", id);
@@ -6913,6 +6913,9 @@ public class PropertyController {
if (lianjiaAvgPrice == null && stats.getLianjiaEsfPrice() != null && stats.getLianjiaEsfPrice() > 0) { if (lianjiaAvgPrice == null && stats.getLianjiaEsfPrice() != null && stats.getLianjiaEsfPrice() > 0) {
lianjiaAvgPrice = stats.getLianjiaEsfPrice(); lianjiaAvgPrice = stats.getLianjiaEsfPrice();
} }
if (lianjiaAvgPrice == null && stats.getBeikeEsfPrice() != null && stats.getBeikeEsfPrice() > 0) {
lianjiaAvgPrice = stats.getBeikeEsfPrice();
}
if (cityhouseAvgPrice == null && stats.getCityhouseEsfPrice() != null && stats.getCityhouseEsfPrice() > 0) { if (cityhouseAvgPrice == null && stats.getCityhouseEsfPrice() != null && stats.getCityhouseEsfPrice() > 0) {
cityhouseAvgPrice = stats.getCityhouseEsfPrice(); cityhouseAvgPrice = stats.getCityhouseEsfPrice();
} }