优化报错
This commit is contained in:
+5
-3
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user