This commit is contained in:
caoqianming 2022-03-29 11:43:27 +08:00
parent 6a284411e6
commit ab42ef0f83
1 changed files with 1 additions and 1 deletions

View File

@ -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'),