srm bug
This commit is contained in:
parent
6a284411e6
commit
ab42ef0f83
|
@ -148,7 +148,7 @@ class AtWorkCountView(CreateAPIView):
|
|||
ret = ClockRecord.objects.filter(
|
||||
update_time__year = vdata['year'],
|
||||
update_time__month = vdata['month'],
|
||||
create_by__show_atwork = True
|
||||
create_by__employee_user__show_atwork = True
|
||||
).values(
|
||||
user_id = F('create_by'),
|
||||
number = F('create_by__employee_user__number'),
|
||||
|
|
Loading…
Reference in New Issue