修复BUG

This commit is contained in:
沈健
2025-06-26 11:11:22 +08:00
parent 85ef70cca9
commit 3aa2016746
@@ -300,6 +300,7 @@ public class OfficeServiceImpl implements OfficeService {
// 第二步:基准价*楼层系数*装修系数*朝向系数 // 第二步:基准价*楼层系数*装修系数*朝向系数
OfficeSellStat officeSellStat = officeSellStatDao.findFirstByParams(params); OfficeSellStat officeSellStat = officeSellStatDao.findFirstByParams(params);
if (officeSellStat != null) {
Double avgPrice = Double.valueOf(officeSellStat.getAvgPrice()); Double avgPrice = Double.valueOf(officeSellStat.getAvgPrice());
if (avgPrice != null) { if (avgPrice != null) {
Double factor = 1.0; Double factor = 1.0;
@@ -315,6 +316,7 @@ public class OfficeServiceImpl implements OfficeService {
avgPrice = avgPrice * factor; avgPrice = avgPrice * factor;
return getOfficeEvaluationDtoWithAvgPrice(avgPrice, evaluation, "office_sell"); return getOfficeEvaluationDtoWithAvgPrice(avgPrice, evaluation, "office_sell");
} }
}
return null; return null;
} }