wxz 2 years ago
parent
commit
2c5c41f42b
  1. 2
      epdc-cloud-client-yushan
  2. 6
      epdc-cloud-vim-yushan/src/main/java/com/elink/esua/epdc/vaccine/house/service/impl/HouseSaleRentServiceServiceImpl.java

2
epdc-cloud-client-yushan

@ -1 +1 @@
Subproject commit 1fa4fc7c8012a2bddd57568286f1c11a29909a65
Subproject commit 4f4f6d4e560bc4d246505399cd7c5aa86f335cca

6
epdc-cloud-vim-yushan/src/main/java/com/elink/esua/epdc/vaccine/house/service/impl/HouseSaleRentServiceServiceImpl.java

@ -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;

Loading…
Cancel
Save