fix: swip_next bug
This commit is contained in:
parent
005919af19
commit
50553bd0c0
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue