|
|
@ -368,8 +368,8 @@ public class HouseInformationServiceImpl implements HouseInformationService { |
|
|
|
total = pageInfo.getTotal(); |
|
|
|
if (CollectionUtils.isNotEmpty(list)) { |
|
|
|
list.forEach(item -> { |
|
|
|
if (map.containsKey(item.getId())) { |
|
|
|
item.setHouseType(HouseRentFlagEnums.getTypeValue(item.getHouseType())); |
|
|
|
if (map.containsKey(item.getId())) { |
|
|
|
item.setPersonCount(map.get(item.getId())); |
|
|
|
} |
|
|
|
}); |
|
|
@ -379,8 +379,8 @@ public class HouseInformationServiceImpl implements HouseInformationService { |
|
|
|
if (CollectionUtils.isNotEmpty(list)) { |
|
|
|
total = list.size(); |
|
|
|
list.forEach(item -> { |
|
|
|
if (map.containsKey(item.getId())) { |
|
|
|
item.setHouseType(HouseRentFlagEnums.getTypeValue(item.getHouseType())); |
|
|
|
if (map.containsKey(item.getId())) { |
|
|
|
item.setPersonCount(map.get(item.getId())); |
|
|
|
} |
|
|
|
}); |
|
|
|