From 39921761f60e68e13224c12c803d63e61699bd6e Mon Sep 17 00:00:00 2001 From: zhaoqifeng Date: Fri, 1 Jul 2022 14:35:07 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E5=8F=8C=E5=AE=9E=E5=BD=95=E5=85=A5?= =?UTF-8?q?=E3=80=91=E7=BB=9F=E8=AE=A1=E7=9B=B8=E5=85=B3=E6=8E=A5=E5=8F=A3?= =?UTF-8?q?=E9=97=AE=E9=A2=98=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/epmet/service/impl/HouseInformationServiceImpl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/service/impl/HouseInformationServiceImpl.java b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/service/impl/HouseInformationServiceImpl.java index 9738c9759d..47faf87ea9 100644 --- a/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/service/impl/HouseInformationServiceImpl.java +++ b/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())); } });