添加功能
This commit is contained in:
@@ -90,7 +90,7 @@ class HrAttendanceDetail(models.Model):
|
||||
if record.employee_id and record.checkin_time and record.source == 'iot':
|
||||
employee_id = record.employee_id
|
||||
checkin_datetime = record.checkin_time
|
||||
current_data = record.checkin_time.date()
|
||||
current_data = record.checkin_time.date() + timedelta(hours=8)
|
||||
day_start = checkin_datetime.replace(hour=0, minute=0, second=0, microsecond=0)
|
||||
day_end = checkin_datetime.replace(hour=23, minute=59, second=59, microsecond=99)
|
||||
daily_iot_records = self.search([
|
||||
|
||||
Reference in New Issue
Block a user