|
|
@@ -41,16 +41,19 @@ public class MapService {
|
|
|
private final GeoItemMapper geoItemMapper;
|
|
|
private final GeoPointMapper geoPointMapper;
|
|
|
private final CameraPhotoMapper cameraPhotoMapper;
|
|
|
+ private JobLocationService jobLocationService;
|
|
|
|
|
|
public MapService(MallReplyMapper mallReplyMapper, MallReplyPhotoMapper mallReplyPhotoMapper,
|
|
|
GeoScopeMapper geoScopeMapper, GeoItemMapper geoItemMapper,
|
|
|
- GeoPointMapper geoPointMapper, CameraPhotoMapper cameraPhotoMapper) {
|
|
|
+ GeoPointMapper geoPointMapper, CameraPhotoMapper cameraPhotoMapper,
|
|
|
+ JobLocationService jobLocationService) {
|
|
|
this.mallReplyMapper = mallReplyMapper;
|
|
|
this.mallReplyPhotoMapper = mallReplyPhotoMapper;
|
|
|
this.geoScopeMapper = geoScopeMapper;
|
|
|
this.geoItemMapper = geoItemMapper;
|
|
|
this.geoPointMapper = geoPointMapper;
|
|
|
this.cameraPhotoMapper = cameraPhotoMapper;
|
|
|
+ this.jobLocationService = jobLocationService;
|
|
|
}
|
|
|
|
|
|
public boolean checkReplyId(String replyId) {
|
|
|
@@ -139,6 +142,9 @@ public class MapService {
|
|
|
String objectId = mapMarker.getId();
|
|
|
});
|
|
|
return list;
|
|
|
+ } else if (itemType == 7) {
|
|
|
+ List<MapMarker> list = jobLocationService.getMapMarks();
|
|
|
+ return list;
|
|
|
}
|
|
|
|
|
|
return Collections.emptyList();
|