diff --git a/apps/hrm/services.py b/apps/hrm/services.py index 4e5ff983..3b6a48ec 100755 --- a/apps/hrm/services.py +++ b/apps/hrm/services.py @@ -277,7 +277,7 @@ class HrmService: # 先直接创建记录 cr = ClockRecord.objects.filter(employee=ep, create_time=s_time_f).first() if cr: - ClockRecord.objects.filter(id=cr.id).update(exception_type=None, detail=detail) + ClockRecord.objects.filter(id=cr.id).update(exception_type=None, detail=detail, type=card_type, trigger=trigger) else: cr = ClockRecord() cr.type = card_type