|
|
|
|
@ -94,14 +94,14 @@ class PointService:
|
|
|
|
|
name=f'Подъезд {_num + 1}',
|
|
|
|
|
matching_status=MatchingStatus.New.name,
|
|
|
|
|
sample_trn=False,
|
|
|
|
|
is_vis=True, geometry=wkt,
|
|
|
|
|
is_vis=True,category=cat, geometry=wkt,
|
|
|
|
|
status=PointStatus.Pending.name, area=rayon,
|
|
|
|
|
district=rayon.AO)
|
|
|
|
|
else:
|
|
|
|
|
models.PrePlacementPoint.objects.get_or_create(**house, address=addr,
|
|
|
|
|
matching_status=MatchingStatus.New.name,
|
|
|
|
|
sample_trn=False,
|
|
|
|
|
is_vis=True, geometry=wkt,
|
|
|
|
|
is_vis=True,category=cat, geometry=wkt,
|
|
|
|
|
status=PointStatus.Pending.name, area=rayon,
|
|
|
|
|
district=rayon.AO)
|
|
|
|
|
else:
|
|
|
|
|
|