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--){