From db95b27b5c82448ceb62e9604e71dc458f1bb499 Mon Sep 17 00:00:00 2001 From: caoqianming Date: Thu, 25 Jul 2024 16:00:11 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20base=20get=5Fticket=5Fstate=5Fparticipan?= =?UTF-8?q?t=5Finfo=20=20=E9=80=9A=E8=BF=87=E5=B7=A5=E5=8D=95=E5=AD=97?= =?UTF-8?q?=E6=AE=B5=E8=8E=B7=E5=8F=96=E5=A4=84=E7=90=86=E4=BA=BA=E9=94=99?= =?UTF-8?q?=E8=AF=AF2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/wf/services.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/wf/services.py b/apps/wf/services.py index 739375d5..fc17c0fb 100755 --- a/apps/wf/services.py +++ b/apps/wf/services.py @@ -158,7 +158,7 @@ class WfService(object): elif destination_participant in ticket.ticket_data: destination_participant = ticket.ticket_data.get(destination_participant, 0) elif hasattr(ticket, destination_participant): - destination_participant = getattr(ticket, destination_participant) + destination_participant = getattr(ticket, destination_participant).id elif destination_participant_type == State.PARTICIPANT_TYPE_FORMCODE: # 代码获取 module, func = destination_participant.rsplit(".", 1)