Browse Source

【双实录入】统计相关接口问题修改

feature/teamB_zz_wgh
zhaoqifeng 3 years ago
parent
commit
39921761f6
  1. 4
      epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/service/impl/HouseInformationServiceImpl.java

4
epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/service/impl/HouseInformationServiceImpl.java

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

Loading…
Cancel
Save