| | |
| | | // 查询场所信息 |
| | | PlaceVO placeVO = baseMapper.getDetail(place); |
| | | // 门牌信息 |
| | | if (null!= place.getAddressType() && place.getAddressType()==4){ |
| | | if (null != placeVO) { |
| | | if (null != place.getAddressType() && place.getAddressType() == 4) { |
| | | // 查询地址编码信息(社区派出所相关信息) |
| | | DoorplateAddressEntity addressEntity = placeRelService.getDoorplateAddressEntity(placeVO); |
| | | placeVO.setDoorplateAddressEntity(addressEntity); |
| | | // 查询网格信息--商超 |
| | | placeVO.setGrid(gridService.getGridDetailByParam(placeVO)); |
| | | } |
| | | }else { |
| | | // 管理后台查询赋值颜色 |
| | | if (placeVO.getPlacePoiLabelVOList().size()>0){ |
| | |
| | | queryWrapper.eq("is_deleted",0).eq("place_id",placeVO.getId()); |
| | | placeVO.setPlaceExtEntity(placeExtService.getOne(queryWrapper)); |
| | | } |
| | | } |
| | | // 返回 |
| | | return placeVO; |
| | | } |