重跑一段时间的打卡记录bug
This commit is contained in:
parent
9f6f3ddb62
commit
6c846386e6
|
@ -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):
|
||||||
|
|
Loading…
Reference in New Issue