重跑一段时间的打卡记录bug

This commit is contained in:
caoqianming 2022-11-03 12:55:07 +08:00
parent 9f6f3ddb62
commit 6c846386e6
1 changed files with 1 additions and 1 deletions

View File

@ -266,7 +266,7 @@ class ClockRecordViewSet(ListModelMixin, CustomGenericViewSet):
sr.is_valid(raise_exception=True) sr.is_valid(raise_exception=True)
vdata = sr.validated_data vdata = sr.validated_data
from apps.hrm.tasks import correct_swip_task 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() return Response()
class NotWorkRemarkViewSet(ListModelMixin, CustomGenericViewSet): class NotWorkRemarkViewSet(ListModelMixin, CustomGenericViewSet):