fix: 矫正员工信息2

This commit is contained in:
caoqianming 2023-12-21 12:00:52 +08:00
parent dc7cd3844d
commit 94e0d006f1
1 changed files with 3 additions and 0 deletions

View File

@ -132,8 +132,11 @@ class CorrectViewSet(CustomGenericViewSet):
'user': user,
'name': user.name,
'phone': user.phone,
'belong_dept': user.belong_dept if user.belong_dept else None,
'post': user.post if user.post else None,
'type': user.type
})
@action(methods=['post'], detail=False, serializer_class=Serializer)
def ticket_sn(self, request, pk=None):
"""矫正工单流水号