fix: >10h算加班
This commit is contained in:
parent
1606213cbc
commit
b217f30c59
|
@ -309,7 +309,7 @@ class HrmService:
|
|||
elif time_d > timedelta(hours=14):
|
||||
last_obj.exception_type = ClockRecord.E_TYPE_MORE
|
||||
last_obj.save()
|
||||
elif time_d > timedelta(hours=9):
|
||||
elif time_d > timedelta(hours=10):
|
||||
last_obj.exception_type = ClockRecord.E_TYPE_ADD
|
||||
last_obj.save()
|
||||
elif cr_e.type == 20:
|
||||
|
|
Loading…
Reference in New Issue