到岗天数统计加入show_atwork筛选
This commit is contained in:
parent
eb63453120
commit
0aa096af8c
|
@ -147,7 +147,8 @@ class AtWorkCountView(CreateAPIView):
|
||||||
)
|
)
|
||||||
ret = ClockRecord.objects.filter(
|
ret = ClockRecord.objects.filter(
|
||||||
update_time__year = vdata['year'],
|
update_time__year = vdata['year'],
|
||||||
update_time__month = vdata['month']
|
update_time__month = vdata['month'],
|
||||||
|
create_by__show_atwork = True
|
||||||
).values(
|
).values(
|
||||||
user_id = F('create_by'),
|
user_id = F('create_by'),
|
||||||
number = F('create_by__employee_user__number'),
|
number = F('create_by__employee_user__number'),
|
||||||
|
|
Loading…
Reference in New Issue