修改筛选条件。

This commit is contained in:
Renpc-kilig 2022-02-10 15:08:11 +08:00
parent 5ad7c4ba27
commit e94b8994f5

View File

@ -194,8 +194,8 @@ public class BuildingHouseServiceImpl extends DefaultBaseService implements IBui
AreaDTO parentDTO = mongoAreaService.get(areaParentId); AreaDTO parentDTO = mongoAreaService.get(areaParentId);
params.put("areaCode", parentDTO.getAreaCode()); params.put("areaCode", parentDTO.getAreaCode());
} }
if(params.get("areaCode") != null && !"".equals(params.get("areaCode").toString())){ if(params.get("areaCodeLike") != null && !"".equals(params.get("areaCodeLike").toString())){
String areaCoed = params.get("areaCode").toString(); String areaCoed = params.get("areaCodeLike").toString();
String[] areaCodeSplit = CheckDataUtils.splitStringByLength(areaCoed, 2); String[] areaCodeSplit = CheckDataUtils.splitStringByLength(areaCoed, 2);
String areaCodeLike = ""; String areaCodeLike = "";
for(int i = 5 ; i >= 0; i--){ for(int i = 5 ; i >= 0; i--){