This commit is contained in:
沈健
2025-06-26 09:54:09 +08:00
parent 5b3d997e01
commit 36d87966e9
3 changed files with 32 additions and 2 deletions
@@ -167,7 +167,7 @@ public class TrendController {
model.setRegionItems(getRegionItems(model));
model.setBlockItems(getRegionBlocks(model));
List<CitySellStat> citySellStats = citySellStatService.getAllWithMonths(city, 2);
List<CitySellStat> citySellStats = citySellStatService.getAllWithCurrMonths(city, 2);
model.setCityStatInfoBos(findCitysAvgPricePlus(city,citySellStats.get(0).getDate(), 10));
model.setDefaultCityName(city);
TrendView trendView = TrendViewFactory.getInstance().create(model);
@@ -712,7 +712,7 @@ public class TrendController {
} else if (city != null) {
//regionStatList = regionStatService.findRegionStat(city, null, null, currentDate, weeks);
int month = weeks / 4;
citySellStatList = citySellStatService.getAllWithMonths(city, month);
citySellStatList = citySellStatService.getAllWithCurrMonths(city, month);
oprions.put("name", city);
}