修复均价问题
This commit is contained in:
+5
-1
@@ -2443,7 +2443,11 @@ public class PropertyController {
|
||||
item.put("city", districtStat.getCity());
|
||||
item.put("district", districtStat.getRegion());
|
||||
item.put("name", districtStat.getDistrictName());
|
||||
item.put("avgPrice", districtStat.getAvg_price_2b());
|
||||
if (districtStat.getAvg_price_2b() != null) {
|
||||
item.put("avgPrice", districtStat.getAvg_price_2b());
|
||||
} else {
|
||||
item.put("avgPrice", districtStat.getAvgPrice());
|
||||
}
|
||||
if ("monthly".equals(model.getPeriodType())) {
|
||||
item.put("date", DateUtil.formatByPattern(districtStat.getWeekend(), "yyyy-MM"));
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user