小区详情建筑年代使用create_year

This commit is contained in:
2023-05-06 11:18:37 +08:00
parent ad046713b5
commit 9ef4dafde6
3 changed files with 13 additions and 1 deletions
@@ -813,7 +813,8 @@ public class PropertyController {
if (district.getLoudongCount() != null && district.getLoudongCount() > 0) {
districtInfoDto.setBuildingCount(district.getLoudongCount());
}
Integer finishYear = districtService.getBuildYear(district);
// Integer finishYear = districtService.getBuildYear(district);
Integer finishYear = districtService.getCreateYear(district);
if (finishYear != null) {
districtInfoDto.setFinishYear(finishYear);
}