优化报错

This commit is contained in:
沈健
2025-03-31 18:22:55 +08:00
parent 267d672c53
commit a84725962c
@@ -776,9 +776,11 @@ public class WeiXinEvaluationController {
Integer tradeAvgPrice = dealPriceService.findDealPrices(model.getCityName(), model.getRegion(), model.getName(), DateUtil.getFirstDayOfMonth(new Date(), -6), DateUtil.getFirstDayOfMonth(new Date(), 0));
//columnX = "['成交均价(近半年)','房价网挂牌均价','搜房挂牌均价','安居客挂牌均价']";
dataMap.put("dealPrice", tradeAvgPrice);
dataMap.put("fjw", averageStatistics.getFangjiaPrice());
dataMap.put("soufang", averageStatistics.getSoufangEsfPrice());
dataMap.put("anjuke", averageStatistics.getAnjukeEsfPrice());
if (averageStatistics != null) {
dataMap.put("fjw", averageStatistics.getFangjiaPrice());
dataMap.put("soufang", averageStatistics.getSoufangEsfPrice());
dataMap.put("anjuke", averageStatistics.getAnjukeEsfPrice());
}
}
jsonMmodel.setJsonModel(dataMap);
return jsonMmodel;