| | |
| | | * @return |
| | | */ |
| | | @Override |
| | | public List<String> getAddressCodeListByUserId(Long userId) { |
| | | return baseMapper.getAddressCodeListByUserId(userId); |
| | | public List<String> getAddressCodeListByUserId(Long userId,String addressCode) { |
| | | return baseMapper.getAddressCodeListByUserId(userId,addressCode); |
| | | } |
| | | |
| | | /** |
| | |
| | | public List<String> getGridListByUserId(Long userId) { |
| | | return baseMapper.getGridListByUserId(userId.toString()); |
| | | } |
| | | |
| | | /** |
| | | * 查询对应的房屋地址code(更加网格编号集合) |
| | | * @param gridCodeList |
| | | * @return |
| | | */ |
| | | @Override |
| | | public List<String> getAddressCodeListByGridCodeList(String communityCode, List<String> gridCodeList) { |
| | | return baseMapper.getAddressCodeListByGridCodeList(communityCode,gridCodeList); |
| | | } |
| | | |
| | | /** |
| | | * 根据社区编号及网格编号集合查询对应的网格信息 |
| | | * @param communityCode |
| | | * @param gridCodeList |
| | | * @return |
| | | */ |
| | | @Override |
| | | public List<GridVO> getGridListByComAndList(String communityCode, List<String> gridCodeList) { |
| | | return baseMapper.getGridListByComAndList(communityCode,gridCodeList); |
| | | } |
| | | |
| | | /** |
| | | * 根据社区名称和网格名称查询对应的网格信息 |
| | | * @param communityName |
| | | * @param gridName |
| | | * @return |
| | | */ |
| | | @Override |
| | | public GridEntity getGridInfoByParam(String communityName, String gridName) { |
| | | return baseMapper.getGridInfoByParam(communityName,gridName); |
| | | } |
| | | } |