|
|
@ -133,8 +133,10 @@ public class HouseSaleRentServiceServiceImpl implements HouseSaleRentServiceServ |
|
|
|
HouseSaleRentInfoEntity info = houseSaleRentInfoDao.selectById(id); |
|
|
|
HouseSaleRentInfoDetailResultDTO d = ConvertUtils.sourceToTarget(info, HouseSaleRentInfoDetailResultDTO.class); |
|
|
|
|
|
|
|
List<String> photos = JSON.parseArray(info.getPhotos(), String.class); |
|
|
|
d.setPhotoList(photos); |
|
|
|
if (StringUtils.isNotBlank(info.getPhotos())) { |
|
|
|
List<String> photos = JSON.parseArray(info.getPhotos(), String.class); |
|
|
|
d.setPhotoList(photos); |
|
|
|
} |
|
|
|
d.setHouseStatusDisplay(HouseSaleRentStatusEnum.getEnumByType(info.getHouseStatus()).getDesc()); |
|
|
|
|
|
|
|
return d; |
|
|
|