getParticipant bug

This commit is contained in:
caoqianming 2021-10-25 13:21:26 +08:00
parent ac879dd74e
commit ee09543227
1 changed files with 2 additions and 1 deletions

View File

@ -8,7 +8,8 @@ class GetParticipants:
# # return list(filter(lambda x: x.startswith('get_') and callable(getattr(self, x)), dir(self)))
# return [(func, getattr(self, func).__doc__) for func in dir(self) if callable(getattr(self, func)) and func.startswith('get_')]
def get_create_by(self, state:dict={}, ticket:dict={}, ticket_data:dict={}, request={}):
@classmethod
def get_create_by(cls, state:dict={}, ticket:dict={}, ticket_data:dict={}, request={}):
"""工单创建人"""
participant = ticket.create_by.id
return participant