/property/detail 报错
This commit is contained in:
+1
-1
@@ -1543,7 +1543,7 @@ public class DistrictStatServiceImpl implements DistrictStatService {
|
|||||||
|
|
||||||
DistrictStatBo statBo = districtStatService.findDistrictStat(districtKey);
|
DistrictStatBo statBo = districtStatService.findDistrictStat(districtKey);
|
||||||
if (statBo != null && statBo.getDefaultDistrictStat() != null) {
|
if (statBo != null && statBo.getDefaultDistrictStat() != null) {
|
||||||
if (statBo.getDefaultDistrictStat().getAvg_price_2b() > 0) {
|
if (statBo.getDefaultDistrictStat().getAvg_price_2b() != null && statBo.getDefaultDistrictStat().getAvg_price_2b() > 0) {
|
||||||
return statBo.getDefaultDistrictStat().getAvg_price_2b();
|
return statBo.getDefaultDistrictStat().getAvg_price_2b();
|
||||||
}
|
}
|
||||||
if (statBo.getDefaultDistrictStat().getAvgPrice() > 0) {
|
if (statBo.getDefaultDistrictStat().getAvgPrice() > 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user