diff --git a/apps/hrm/views.py b/apps/hrm/views.py index 6b44dd10..edb5bfd9 100755 --- a/apps/hrm/views.py +++ b/apps/hrm/views.py @@ -266,7 +266,7 @@ class ClockRecordViewSet(ListModelMixin, CustomGenericViewSet): sr.is_valid(raise_exception=True) vdata = sr.validated_data from apps.hrm.tasks import correct_swip_task - correct_swip_task.delay(vdata['start_time'], vdata['start_time']) + correct_swip_task.delay(vdata['start_time'], vdata['end_time']) return Response() class NotWorkRemarkViewSet(ListModelMixin, CustomGenericViewSet):