fix: >10h算加班

This commit is contained in:
caoqianming 2023-03-23 11:16:02 +08:00
parent 1606213cbc
commit b217f30c59
1 changed files with 1 additions and 1 deletions

View File

@ -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: