|
|
|
@ -363,7 +363,7 @@ class PrePlacementPointViewSet(PlacementPointViewSet):
|
|
|
|
file_id = request.POST['id']
|
|
|
|
file_id = request.POST['id']
|
|
|
|
total, matched, problem = PointService().start_mathing(file_id)
|
|
|
|
total, matched, problem = PointService().start_mathing(file_id)
|
|
|
|
PointService.make_enrichment()
|
|
|
|
PointService.make_enrichment()
|
|
|
|
raschet('service_preplacementpoint')
|
|
|
|
raschet.delay('service_preplacementpoint')
|
|
|
|
return Response(
|
|
|
|
return Response(
|
|
|
|
{'message': {'total': total, 'matched': matched, 'error': problem, 'unmatched': total - matched - problem}},
|
|
|
|
{'message': {'total': total, 'matched': matched, 'error': problem, 'unmatched': total - matched - problem}},
|
|
|
|
status=HTTPStatus.OK,
|
|
|
|
status=HTTPStatus.OK,
|
|
|
|
|