From e94b8994f543b0cd6eff13b2a24d886e9942798e Mon Sep 17 00:00:00 2001 From: Renpc-kilig <308442850@qq.com> Date: Thu, 10 Feb 2022 15:08:11 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=AD=9B=E9=80=89=E6=9D=A1?= =?UTF-8?q?=E4=BB=B6=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service/buildinghouse/impl/BuildingHouseServiceImpl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/cn/com/tenlion/systemhouse/service/buildinghouse/impl/BuildingHouseServiceImpl.java b/src/main/java/cn/com/tenlion/systemhouse/service/buildinghouse/impl/BuildingHouseServiceImpl.java index 91caf7f..5909f85 100644 --- a/src/main/java/cn/com/tenlion/systemhouse/service/buildinghouse/impl/BuildingHouseServiceImpl.java +++ b/src/main/java/cn/com/tenlion/systemhouse/service/buildinghouse/impl/BuildingHouseServiceImpl.java @@ -194,8 +194,8 @@ public class BuildingHouseServiceImpl extends DefaultBaseService implements IBui AreaDTO parentDTO = mongoAreaService.get(areaParentId); params.put("areaCode", parentDTO.getAreaCode()); } - if(params.get("areaCode") != null && !"".equals(params.get("areaCode").toString())){ - String areaCoed = params.get("areaCode").toString(); + if(params.get("areaCodeLike") != null && !"".equals(params.get("areaCodeLike").toString())){ + String areaCoed = params.get("areaCodeLike").toString(); String[] areaCodeSplit = CheckDataUtils.splitStringByLength(areaCoed, 2); String areaCodeLike = ""; for(int i = 5 ; i >= 0; i--){