refector: 命名修改

This commit is contained in:
caoqianming 2023-04-14 16:24:56 +08:00
parent d9c318de8e
commit 03ac2a5b1b
1 changed files with 2 additions and 2 deletions

View File

@ -159,9 +159,9 @@ def rpj_member_come(i: Rpjmember):
# leave_time = dh_face_card_end
rpj_qs = Rpj.objects.filter(remployees=rep, state__in = [Rpj.RPJ_WORKING, Rpj.RPJ_ENTER])|Rpj.objects.filter(id=rpj.id)
leave_time__max = rpj_qs.aggregate(Max('leave_time'))['leave_time__max']
come_time_min = rpj_qs.aggregate(Min('come_time'))['come_time__min']
come_time__min = rpj_qs.aggregate(Min('come_time'))['come_time__min']
# 同步至大华人员库并下发人脸
HrmService.sync_dahua_employee(ep, old_photo, come_time_min, leave_time__max)
HrmService.sync_dahua_employee(ep, old_photo, come_time__min, leave_time__max)
def rpj_certificate_in(i: Rpjmember):