均价保持一致
This commit is contained in:
+4
-2
@@ -3665,12 +3665,14 @@ public Object checkUserAction(EvaluationModel model, HttpServletRequest req, Htt
|
||||
SimpleDateFormat format = new SimpleDateFormat("yyyy.MM");
|
||||
for (Date key : districtStatMap.keySet()) {
|
||||
DistrictStat ds = districtStatMap.get(key);
|
||||
districtMap.put(format.format(ds.getWeekend()),ds.getAvgPrice());
|
||||
Integer avgPrice = ds.getAvg_price_2b() != null ? ds.getAvg_price_2b() : ds.getAvgPrice();
|
||||
districtMap.put(format.format(ds.getWeekend()), avgPrice);
|
||||
}
|
||||
|
||||
for (Date key : villaDistrictStatMap.keySet()) {
|
||||
DistrictStat ds = villaDistrictStatMap.get(key);
|
||||
districtMap.put(format.format(ds.getWeekend()),ds.getAvgPrice());
|
||||
Integer avgPrice = ds.getAvg_price_2b() != null ? ds.getAvg_price_2b() : ds.getAvgPrice();
|
||||
districtMap.put(format.format(ds.getWeekend()), avgPrice);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user