| | |
| | | List<String> regionChildCodesList = SysCache.getRegionChildCodesByDeptId(AuthUtil.getDeptId()); |
| | | Integer isAdministrator = AuthUtil.isAdministrator()==true?1:2; |
| | | List<HouseVO> houseVOS = baseMapper.selectHousePage(page, house,regionChildCodesList,isAdministrator); |
| | | // 遍历查询网格 |
| | | // for (HouseVO houseVO : houseVOS) { |
| | | // // 设置对应的网格名称 |
| | | // GridVO gridVO = gridService.getGridDetailByHouseCode(houseVO.getHouseCode()); |
| | | // if (null!= gridVO){ |
| | | // houseVO.setGridName(gridVO.getGridName()); |
| | | // } |
| | | // } |
| | | return page.setRecords(houseVOS); |
| | | } |
| | | |