重新门禁授权bug

This commit is contained in:
曹前明 2022-09-16 07:54:54 +08:00
parent b90fe9078f
commit 4e93418739
1 changed files with 1 additions and 1 deletions

View File

@ -132,7 +132,7 @@ class EmployeeViewSet(CustomModelViewSet):
"""
obj = self.get_object()
if obj.third_info.get('dh_face_card', None):
HrmService.door_auth()
HrmService.door_auth(ep=obj)
else:
raise ParseError('该员工缺少主卡')
# objs = Employee.objects.filter(pk__in=vdata['pks'], third_info__dh_face_card__isnull=False)